liens marge gauche
This commit is contained in:
parent
799245b265
commit
9eb2c2462b
@ -39,8 +39,10 @@ from app.scodoc.sco_permissions import Permission
|
|||||||
|
|
||||||
def sidebar_common():
|
def sidebar_common():
|
||||||
"partie commune à toutes les sidebar"
|
"partie commune à toutes les sidebar"
|
||||||
|
home_link = url_for("scodoc.index", scodoc_dept=g.scodoc_dept)
|
||||||
H = [
|
H = [
|
||||||
f"""<a class="scodoc_title" href="{url_for("scodoc.index", scodoc_dept=g.scodoc_dept)}">ScoDoc 9.1</a>
|
f"""<a class="scodoc_title" href="{home_link}">ScoDoc 9.1</a><br>
|
||||||
|
<a href="{home_link}" class="sidebar">Accueil</a> <br>
|
||||||
<div id="authuser"><a id="authuserlink" href="{
|
<div id="authuser"><a id="authuserlink" href="{
|
||||||
url_for("users.user_info_page",
|
url_for("users.user_info_page",
|
||||||
scodoc_dept=g.scodoc_dept, user_name=current_user.user_name)
|
scodoc_dept=g.scodoc_dept, user_name=current_user.user_name)
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<h2 class="insidebar">Dépt. {{ prefs["DeptName"] }}</h2>
|
<h2 class="insidebar"><a href="{{
|
||||||
<a href="{{ url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}" class="sidebar">Accueil</a> <br />
|
url_for('scolar.index_html', scodoc_dept=g.scodoc_dept)
|
||||||
|
}}">Dépt. {{ prefs["DeptName"] }}</a>
|
||||||
|
</h2>
|
||||||
{% if prefs["DeptIntranetURL"] %}
|
{% if prefs["DeptIntranetURL"] %}
|
||||||
<a href="{{ prefs["DeptIntranetURL"] }}" class="sidebar">
|
<a href="{{ prefs['DeptIntranetURL'] }}" class="sidebar">
|
||||||
{{ prefs["DeptIntranetTitle"] }}</a>
|
{{ prefs["DeptIntranetTitle"] }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br />
|
<br />
|
||||||
|
Loading…
Reference in New Issue
Block a user