Skip to content

Commit

Permalink
Add missing link labels for usersuite actions #405
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Aug 22, 2019
1 parent 70dafcf commit e393c8d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
9 changes: 6 additions & 3 deletions sipa/templates/usersuite/_index_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,22 @@ <h2 id="status-information">{{ _("Statusinformationen") }}</h2>
{{ property.value }}

{% if property.capabilities.edit and property.empty %}
<a href="{{ url_for(get_attribute_endpoint(property.name)) }}">
<a href="{{ url_for(get_attribute_endpoint(property.name)) }}"
aria-label="{{ _("Hinzufügen") }}">
<span class="glyphicon glyphicon-plus pull-right"></span>
</a>
{% endif %}

{% if property.capabilities.edit and not property.empty %}
<a href="{{ url_for(get_attribute_endpoint(property.name)) }}">
<a href="{{ url_for(get_attribute_endpoint(property.name)) }}"
aria-label="{{ _("Bearbeiten") }}">
<span class="glyphicon glyphicon-pencil pull-right"></span>
</a>
{% endif %}

{% if property.capabilities.delete and not property.empty %}
<a href="{{ url_for(get_attribute_endpoint(property.name, capability='delete')) }}">
<a href="{{ url_for(get_attribute_endpoint(property.name, capability='delete')) }}"
aria-label="{{ _("Löschen") }}">
<span class="glyphicon glyphicon-remove pull-right"></span>
</a>
{% endif %}
Expand Down
Binary file modified sipa/translations/de/LC_MESSAGES/messages.mo
Binary file not shown.
14 changes: 12 additions & 2 deletions sipa/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-08-22 21:46+0200\n"
"POT-Creation-Date: 2019-08-22 21:57+0200\n"
"PO-Revision-Date: 2014-08-01 19:22+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.6.0\n"
"Generated-By: Babel 2.7.0\n"

msgid "Kleinbuchstaben (a-z)"
msgstr ""
Expand Down Expand Up @@ -592,6 +592,15 @@ msgstr ""
msgid "Statusinformationen"
msgstr ""

msgid "Hinzufügen"
msgstr ""

msgid "Bearbeiten"
msgstr ""

msgid "Löschen"
msgstr ""

msgid "Zahlungsdetails"
msgstr ""

Expand Down Expand Up @@ -1419,3 +1428,4 @@ msgstr ""

#~ msgid "Fehler bei der Abfrage der Daten"
#~ msgstr ""

Binary file modified sipa/translations/en/LC_MESSAGES/messages.mo
Binary file not shown.
17 changes: 13 additions & 4 deletions sipa/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ msgid ""
msgstr ""
"Project-Id-Version: Sipa\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-08-22 21:46+0200\n"
"PO-Revision-Date: 2019-08-22 21:47+0200\n"
"POT-Creation-Date: 2019-08-22 21:57+0200\n"
"PO-Revision-Date: 2019-08-22 21:58+0200\n"
"Last-Translator: Lukas Juhrich <[email protected]>\n"
"Language: en\n"
"Language-Team: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.6.0\n"
"Generated-By: Babel 2.7.0\n"
"X-Source-Language: de\n"
"X-Generator: Poedit 2.0.6\n"
"X-Generator: Poedit 2.2.1\n"

msgid "Kleinbuchstaben (a-z)"
msgstr "lower case letters (a-z)"
Expand Down Expand Up @@ -605,6 +605,15 @@ msgstr "Webmailer"
msgid "Statusinformationen"
msgstr "Status information"

msgid "Hinzufügen"
msgstr "Add"

msgid "Bearbeiten"
msgstr "Edit"

msgid "Löschen"
msgstr "Delete"

msgid "Zahlungsdetails"
msgstr "Payment details"

Expand Down

0 comments on commit e393c8d

Please sign in to comment.