Commit 8864f077 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add a page to inform user that URLs have changed.

parent 0bff251b
......@@ -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
......
<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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment