Commit 6a9dd13d authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Add admin link to account menu

parent 8cfb7a95
This diff was suppressed by a .gitattributes entry.
...@@ -7,10 +7,8 @@ msgid "" ...@@ -7,10 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-16 21:29+0200\n" "POT-Creation-Date: 2016-10-01 17:44+0200\n"
"PO-Revision-Date: 2016-09-21 11:08+0200\n" "PO-Revision-Date: 2016-10-01 17:47+0200\n"
"POT-Creation-Date: 2016-09-16 21:34+0200\n"
"PO-Revision-Date: 2016-09-16 21:34+0200\n"
"Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n" "Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: nl\n" "Language: nl\n"
...@@ -128,11 +126,11 @@ msgstr "Samenvatting Insturen" ...@@ -128,11 +126,11 @@ msgstr "Samenvatting Insturen"
msgid "Contact" msgid "Contact"
msgstr "Contact" msgstr "Contact"
#: settings/settings.py:149 #: settings/settings.py:155
msgid "English" msgid "English"
msgstr "Engels" msgstr "Engels"
#: settings/settings.py:150 #: settings/settings.py:156
msgid "Dutch" msgid "Dutch"
msgstr "Nederlands" msgstr "Nederlands"
...@@ -153,23 +151,31 @@ msgid "" ...@@ -153,23 +151,31 @@ msgid ""
"500: Internal server error. Thalia's website committee has been notified." "500: Internal server error. Thalia's website committee has been notified."
msgstr "" msgstr ""
#: templates/base.html:9 templates/base.html:161 #: templates/base.html:9 templates/base.html:167
msgid "Study Association Thalia" msgid "Study Association Thalia"
msgstr "Studievereniging Thalia" msgstr "Studievereniging Thalia"
#: templates/base.html:68 #: templates/base.html:70
msgid "Login" msgid "Login"
msgstr "Inloggen" msgstr "Inloggen"
#: templates/base.html:77 #: templates/base.html:74
msgid "Edit Profile" msgid "My Account"
msgstr "Bewerk profiel" msgstr "Mijn Account"
#: templates/base.html:78 #: templates/base.html:79
msgid "Profile Picture" msgid "edit profile"
msgstr "Profielafbeelding" msgstr "bewerk profiel"
#: templates/base.html:80 #: templates/base.html:80
msgid "change password"
msgstr "wijzig mijn wachtwoord"
#: templates/base.html:83
msgid "Site administration"
msgstr "Sitebeheer"
#: templates/base.html:86
msgid "Log Out" msgid "Log Out"
msgstr "Uitloggen" msgstr "Uitloggen"
...@@ -477,6 +483,9 @@ msgstr "Universiteit van Amsterdam" ...@@ -477,6 +483,9 @@ msgstr "Universiteit van Amsterdam"
msgid "VU University Amsterdam" msgid "VU University Amsterdam"
msgstr "Vrije Universiteit Amsterdam" msgstr "Vrije Universiteit Amsterdam"
#~ msgid "Profile Picture"
#~ msgstr "Profielafbeelding"
#~ msgid "Logout" #~ msgid "Logout"
#~ msgstr "Uitloggen" #~ msgstr "Uitloggen"
...@@ -526,9 +535,6 @@ msgstr "Vrije Universiteit Amsterdam" ...@@ -526,9 +535,6 @@ msgstr "Vrije Universiteit Amsterdam"
#~ msgid "Confirm new password" #~ msgid "Confirm new password"
#~ msgstr "Bevestig nieuw wachtwoord" #~ msgstr "Bevestig nieuw wachtwoord"
#~ msgid "Change my password"
#~ msgstr "Wijzig mijn wachtwoord"
#~ msgid "Confirm password" #~ msgid "Confirm password"
#~ msgstr "Bevestig wachtwoord" #~ msgstr "Bevestig wachtwoord"
......
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
<li><a href="{% url 'members:edit-profile' %}">{% trans "edit profile"|capfirst %}</a></li> <li><a href="{% url 'members:edit-profile' %}">{% trans "edit profile"|capfirst %}</a></li>
<li><a href="{% url 'password_change' %}">{% trans "change password"|capfirst %}</a></li> <li><a href="{% url 'password_change' %}">{% trans "change password"|capfirst %}</a></li>
<li class="divider"></li> <li class="divider"></li>
{% if user.is_staff %}
<li><a href="{% url 'admin:index' %}">{% trans "Site administration" %}</a></li>
<li class="divider"></li>
{% endif %}
<li><a href="{% url 'logout' %}"><i class="fa fa-sign-out"></i>{% trans "Log Out" %}</a></li> <li><a href="{% url 'logout' %}"><i class="fa fa-sign-out"></i>{% trans "Log Out" %}</a></li>
</ul> </ul>
</div> </div>
......
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