| author | Simon Descarpentries <sid@sopinspace.com> |
| Tue, 06 May 2014 15:55:24 +0200 | |
| changeset 652 | 2484db74c150 |
| parent 568 | 0a19e3214687 |
| permissions | -rw-r--r-- |
| 0 | 1 |
{% load i18n %} |
2 |
{% load local_perms %} |
|
3 |
{% get_local_perm request can_create_text as can_create_text %} |
|
4 |
||
5 |
<div id="header_controls"> |
|
6 |
||
7 |
{% if user.is_authenticated %}<b>{{ user.username }}</b> ·{% endif %} |
|
8 |
<a title="{% blocktrans %}Home{% endblocktrans %}" href="{% url index %}">{% blocktrans %}Home{% endblocktrans %}</a> |
|
9 |
{% if can_create_text %} |
|
| 237 | 10 |
· <a title="{% blocktrans %}Create a text{% endblocktrans %}" href="{% url text-create-content %}">{% blocktrans %}Create a text{% endblocktrans %}</a> |
| 0 | 11 |
· <a title="{% blocktrans %}Upload a text{% endblocktrans %}" href="{% url text-create-upload %}">{% blocktrans %}Upload a text{% endblocktrans %}</a> |
|
460
2fdb7d095d5c
Added import from XML file, including text, comments and attachments.
gibus
parents:
237
diff
changeset
|
12 |
· <a title="{% blocktrans %}Import a co-mented text{% endblocktrans %}" href="{% url text-create-import %}">{% blocktrans %}Import a co-mented text{% endblocktrans %}</a> |
| 0 | 13 |
{% endif %} |
14 |
{% if user.is_authenticated %} |
|
15 |
· <a title="{% blocktrans %}Profile{% endblocktrans %}" href="{% url profile %}">{% blocktrans %}Profile{% endblocktrans %}</a> |
|
|
652
2484db74c150
Add TRACKING_ID in optOut URL as well, move Privacy setting in before Logout in header
Simon Descarpentries <sid@sopinspace.com>
parents:
568
diff
changeset
|
16 |
{% if TRACKING_ID %} |
|
2484db74c150
Add TRACKING_ID in optOut URL as well, move Privacy setting in before Logout in header
Simon Descarpentries <sid@sopinspace.com>
parents:
568
diff
changeset
|
17 |
· <a id="hide-piwik-cookies-optout">{% blocktrans %}Privacy policy{% endblocktrans %} </a> |
|
2484db74c150
Add TRACKING_ID in optOut URL as well, move Privacy setting in before Logout in header
Simon Descarpentries <sid@sopinspace.com>
parents:
568
diff
changeset
|
18 |
{% endif %} |
| 0 | 19 |
· <a title="{% blocktrans %}Logout{% endblocktrans %}" href="{% url logout %}">{% blocktrans %}Logout{% endblocktrans %}</a> |
20 |
{% else%} |
|
21 |
· <a title="{% blocktrans %}Login{% endblocktrans %}" href="{% url login %}">{% blocktrans %}Login{% endblocktrans %}</a> |
|
22 |
{% if CONF.workspace_registration %} · <a title="{% blocktrans %}Register{% endblocktrans %}" href="{% url register %}">{% blocktrans %}Register{% endblocktrans %}</a>{% endif %} |
|
23 |
{% endif %} |
|
|
460
2fdb7d095d5c
Added import from XML file, including text, comments and attachments.
gibus
parents:
237
diff
changeset
|
24 |
</div> |