Add link to remove tags filter
This commit is contained in:
parent
1193c96966
commit
a600a21753
3 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,7 @@ return [
|
|||
'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',
|
||||
|
|
|
@ -156,6 +156,7 @@ return [
|
|||
'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',
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue