0001-mandayejs-meyzieu-change-wcs-link-label-22769.patch
templates/variants/meyzieu/mandaye/panel.html | ||
---|---|---|
1 |
{% load i18n gadjo staticfiles %} |
|
2 | ||
3 |
<script type="text/javascript"> |
|
4 |
var mandaye_redirect_url = '{{force_redirect_url}}'; |
|
5 |
var mandaye_redirect_locator = '{{force_redirect_locator}}'; |
|
6 |
var mandaye_logout_locator = '{{logout_locator}}'; |
|
7 |
</script> |
|
8 | ||
9 |
<script type="text/javascript" src="{% static 'force.redirect.js' %}"></script> |
|
10 |
<script type="text/javascript" src="{% static 'single.logout.js' %}"></script> |
|
11 | ||
12 |
{% if site_scripts %} |
|
13 |
{%for script in site_scripts%} |
|
14 |
<script type="text/javascript" src="{% static script %}"></script> |
|
15 |
{%endfor%} |
|
16 |
{%endif%} |
|
17 | ||
18 |
{% include 'mandaye/panel_styles.html' %} |
|
19 | ||
20 |
<div id="mandaye-logo"> |
|
21 |
<a href="{% if portal_user_url %}{{ portal_user_url }}{% else %}/{% endif %}"> |
|
22 |
<img src="{% static 'images/logo.png' %}" alt="logo.png"> |
|
23 |
</a> |
|
24 |
</div> |
|
25 |
{% if user.is_authenticated %} |
|
26 |
<div id="mandaye-username"><a href="{{idp_url}}/accounts">{{ user.get_full_name }}</a></div> |
|
27 |
{% if portal_user_url %}<div id="mandaye-advances"><a href="{{portal_user_url}}">Retour à Mon Meyzieu</a></div>{% endif %} |
|
28 |
<div id="mandaye-logon-url"><a href="{% url 'logout' %}">{% trans 'Logout' %}</a></div> |
|
29 |
{% if is_linked %} |
|
30 |
<div id="mandaye-association-url"><a href="{% url 'dissociate' %}">{% trans 'Dissociate' %}</a></div> |
|
31 |
{% else %} |
|
32 |
<div id="mandaye-association-url"><a href="{% url 'associate' %}">{% trans 'Associate' %}</a></div> |
|
33 |
{% endif %} |
|
34 |
{% else %} |
|
35 |
{% if portal_user_url %}<div id="mandaye-advances"><a href="{{portal_user_url}}">Retour à Mon Meyzieu</a></div>{% endif %} |
|
36 |
<div id="mandaye-logon-url"><a href="{% url 'post-login' %}">{% trans 'Login' %}</a></div> |
|
37 |
<div id="mandaye-association-url"><a href="{% url 'associate' %}">{% trans 'Associate' %}</a></div> |
|
38 |
{% endif %} |
|
0 |
- |