Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
8864f077
Commit
8864f077
authored
Mar 16, 2016
by
LE GAC Renaud
Browse files
Add a page to inform user that URLs have changed.
parent
0bff251b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
controllers/default.py
controllers/default.py
+20
-0
views/default/limbra.html
views/default/limbra.html
+14
-0
No files found.
controllers/default.py
View file @
8864f077
...
...
@@ -15,6 +15,26 @@ def guides():
return
dict
()
def
limbra
():
"""Inform user that URLs have changed after the renaming of
track_publications as limbra.
"""
host
=
request
.
env
.
http_host
path
=
request
.
env
.
web2py_original_uri
app
=
path
.
split
(
"/"
)[
1
]
old
=
"https://%s/%s"
%
(
host
,
app
)
app
=
app
.
replace
(
"test_publications"
,
"test_limbra"
)
app
=
app
.
replace
(
"track_publications"
,
"limbra"
)
new
=
"https://%s/%s"
%
(
host
,
app
)
return
dict
(
old
=
old
,
new
=
new
)
def
user
():
"""exposes:
http://..../[app]/default/user/login
...
...
views/default/limbra.html
0 → 100644
View file @
8864f077
<h2
class=
"dbui-h2 dbui-small-cap"
>
LIMBRA
</h2>
<p
class=
"dbui-p"
>
LIstes et Métriques BibliogRaphiques Automatisées
</p>
<p
class=
"dbui-p"
>
L'application
<i>
track_publications
</i>
a été renomé
<i>
Limbra
</i>
.
<br>
Les hyperliens des applications ont été modifiés en
conséquence.
<p>
<p
class=
"dbui-p"
>
Dans votre marque pages et dans votre(vos) site(s) internet,
<br>
veuillez remplacer :
<i>
{{=old}}
</i>
<br>
par
<a
href=
"{{=new}}"
target=
"_blank"
>
{{=new}}
</a>
.
<p>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment