Skip to content

Commit

Permalink
Add link to remove tags filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgd committed Apr 30, 2024
1 parent 1193c96 commit a600a21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/lang/de.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
'mail.new_account' => '%s – Erstellung von Konto',
'user_create_password' => 'Wenn das leer bleibt, wollen Sie vielleicht eine Benachrichtigung an die Benutzer per E-Mail senden.',
'no_tags' => 'Keine Tags hinzugefügt',
'show_all_tags' => 'Alle Tags anzeigen',
'upload_max_file_size' => 'Die maximale Dateigröße beträgt derzeit %s.',
'ldap_cant_connect' => 'Es kann keine Verbindung zum LDAP-Auth-Server hergestellt werden.',
'zip_ext_not_loaded' => 'Die zip-Erweiterung ist erforderlich',
Expand Down
1 change: 1 addition & 0 deletions resources/lang/en.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
'ldap_cant_connect' => 'Can\'t connect to the LDAP auth server.',
'upload_max_file_size' => 'The max file size is currently %s.',
'no_tags' => 'No tags added',
'show_all_tags' => 'Show all tags',
'auto_tagging' => 'Auto upload tagging',
'zip_ext_not_loaded' => 'The required "zip" extension is not loaded',
'changelog' => 'Changelog',
Expand Down
1 change: 1 addition & 0 deletions resources/templates/dashboard/pager_header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
{% if tags is empty %}
<h6 class="dropdown-header">{{ lang('no_tags') }}</h6>
{% else %}
<a class="dropdown-item" href="{{ route('home') }}">{{ lang('show_all_tags') }}</a>
{% for tag in tags %}
<a class="dropdown-item {{ request.queryParams['tag'] == tag.id ? 'active' }}" href="{{ queryParams({'tag': tag.id}) }}" data-id="{{ tag.id }}">{{ tag.name }}</a>
{% endfor %}
Expand Down

0 comments on commit a600a21

Please sign in to comment.