Skip to content

Commit

Permalink
Add "Edit profile" button
Browse files Browse the repository at this point in the history
  • Loading branch information
dasGoogle committed Jun 11, 2024
1 parent 3cf4491 commit 9b31531
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
21 changes: 7 additions & 14 deletions myhpi/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-13 17:26+0100\n"
"POT-Creation-Date: 2024-06-11 11:13+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -274,7 +274,7 @@ msgid "No results found."
msgstr "Keine Ergebnisse gefunden."

#: myhpi/search/templates/search/search_field.html:6
#: myhpi/templates/base.html:166
#: myhpi/templates/base.html:169
msgid "Search..."
msgstr "Suchen..."

Expand Down Expand Up @@ -348,10 +348,14 @@ msgid "Create minutes"
msgstr "Protokoll erstellen"

#: myhpi/templates/base.html:117
msgid "Edit profile"
msgstr "Profil bearbeiten"

#: myhpi/templates/base.html:120
msgid "Sign out"
msgstr "Abmelden"

#: myhpi/templates/base.html:168
#: myhpi/templates/base.html:171
msgid "Start search"
msgstr "Suche starten"

Expand Down Expand Up @@ -443,12 +447,6 @@ msgstr ""
"\t\tMöchtest du die Liste %(listname)s wirklich löschen?\n"
"\t"

#: myhpi/tenca_django/templates/tenca_django/delete_list.html:20
#, fuzzy
#| msgid "Delete list"
msgid "Delete"
msgstr "Liste Löschen"

#: myhpi/tenca_django/templates/tenca_django/delete_list.html:21
msgid "Cancel"
msgstr "Abbrechen"
Expand Down Expand Up @@ -602,11 +600,6 @@ msgstr "Die Anmeldung von {email} auf {list} wurde rückgänig gemacht."
#~ msgid "Draft"
#~ msgstr "Entwurf"

#, fuzzy
#~| msgid "[missing link]"
#~ msgid "[missing image]"
#~ msgstr "[link fehlt]"

#~ msgid "Sorry, this page could not be found."
#~ msgstr ""
#~ " Die angeforderte Seite existiert nicht. Bitte überprüfe die URL oder "
Expand Down
5 changes: 4 additions & 1 deletion myhpi/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</div>
<div class="navbar-bottom d-flex">
<div class="navbar-bottom-content page-content d-flex flex-column flex-xl-row flex-grow-1 flex-xl-grow-0">

{% cache template_cache_duration menu request.user.id request.user.ip_range_group_name LANGUAGE_CODE %}
{% build_nav_level_for root_page %}
{% endcache %}
Expand Down Expand Up @@ -113,6 +113,9 @@
{% endfor %}
<li class="dropdown-divider"></li>
{% endif %}
<li class="nav-item">
<a class='nav-link' href="https://auth.myhpi.de" id="edit-profile-link">{% trans "Edit profile" %}</a>
</li>
<li class="nav-item">
<a class='nav-link' href="#" id="logout-link">{% trans "Sign out" %}</a>
<form action="{% url 'oidc_logout' %}" method="post" id="logout-form">
Expand Down

0 comments on commit 9b31531

Please sign in to comment.