Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
iPPIDB
ippidb-web
Commits
738607de
Commit
738607de
authored
6 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into wizard_form
parents
ea855082
d3718ef1
No related branches found
No related tags found
1 merge request
!1
Wizard form
Pipeline
#9325
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ippisite/ippidb/templates/contribute.html
+1
-1
1 addition, 1 deletion
ippisite/ippidb/templates/contribute.html
ippisite/ippidb/templatetags/sstatic.py
+2
-2
2 additions, 2 deletions
ippisite/ippidb/templatetags/sstatic.py
with
3 additions
and
3 deletions
ippisite/ippidb/templates/contribute.html
+
1
−
1
View file @
738607de
...
...
@@ -3,7 +3,7 @@
{% block title %}inhibitors of Protein-Protein Interaction Database{% endblock %}
{% block extra_css %}
<link
rel=
"stylesheet"
href=
"
/
static/css/admin-session.css"
>
<link
rel=
"stylesheet"
href=
"
{% s
static
'
/css/admin-session.css
' %}
"
>
{% endblock %}
{% block content %}
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/templatetags/sstatic.py
+
2
−
2
View file @
738607de
...
...
@@ -15,9 +15,9 @@ def sstatic(path):
'''
Returns absolute URL to static file with versioning.
'''
full_path
=
os
.
path
.
join
(
settings
.
STATIC_URL
,
path
[
1
:]
if
path
[
0
]
==
'
/
'
else
path
)
if
not
settings
.
DEBUG
:
return
path
full_path
=
os
.
path
.
join
(
settings
.
STATIC_ROOT
,
path
[
1
:]
if
path
[
0
]
==
'
/
'
else
path
)
return
full_path
try
:
# Get file modification time.
mtime
=
os
.
path
.
getmtime
(
full_path
)
...
...
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