SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
119
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
96686f61
Commit
96686f61
authored
5 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Debug javascript for newsticker
parent
5ccdca76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scipost/static/scipost/assets/js/newsticker.js
+2
-2
2 additions, 2 deletions
scipost/static/scipost/assets/js/newsticker.js
scipost/templates/scipost/index_sidebar_2.html
+1
-1
1 addition, 1 deletion
scipost/templates/scipost/index_sidebar_2.html
with
3 additions
and
3 deletions
scipost/static/scipost/assets/js/newsticker.js
+
2
−
2
View file @
96686f61
...
...
@@ -53,10 +53,10 @@ NewsTicker = (function() {
$
.
get
(
this
.
options
.
url
+
'
?format=json
'
)
.
done
(
function
(
data
)
{
var
counter
=
1
var
total
=
data
.
length
var
total
=
data
.
count
setInterval
(
function
(){
self
.
get_item
(
data
[
counter
%
total
]);
self
.
get_item
(
data
.
results
[
counter
%
total
]);
counter
+=
1
},
self
.
options
.
interval
);
})
...
...
This diff is collapsed.
Click to expand it.
scipost/templates/scipost/index_sidebar_2.html
+
1
−
1
View file @
96686f61
...
...
@@ -23,7 +23,7 @@
{% endif %}
<!-- News -->
<div
id=
"news
2
"
>
<div
id=
"news"
>
<h2
class=
"title"
>
News
<small><a
href=
"{% url 'scipost:feeds' %}"
><i
class=
"fa fa-rss"
></i></a></small>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment