Tag delete style action updated

This commit is contained in:
Simounet 2022-06-15 09:51:17 +02:00 committed by Jeremy Benoist
parent 086b3dda88
commit e55cb639fc
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
6 changed files with 12 additions and 4 deletions

View File

@ -211,6 +211,10 @@ a.original:not(.waves-effect) {
display: flex;
}
.card-tag-delete {
margin-left: 10px;
}
.card-tag-labels {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

View File

@ -457,6 +457,8 @@ quickstart:
email: By email
gitter: On Gitter
tag:
confirm:
delete: Delete the %name% tag
page_title: Tags
list:
number_on_the_page: '{0} There are no tags.|{1} There is one tag.|]1,Inf[ There are %count% tags.'

View File

@ -458,6 +458,8 @@ quickstart:
email: Par courriel
gitter: Sur Gitter
tag:
confirm:
delete: Supprimer le tag %name%
page_title: Étiquettes
list:
number_on_the_page: '{0} Il ny a pas d''étiquette.|{1} Il y a une étiquette.|]1,Inf[ Il y a %count% étiquettes.'

View File

@ -26,8 +26,8 @@
<i class="material-icons">mode_edit</i>
</a>
{% endif %}
<a href="{{ path('tag_delete', {'slug': tag.slug})}}">
<i class="material-icons">mode_delete</i>
<a href="{{ path('tag_delete', {'slug': tag.slug})}}" class="card-tag-icon card-tag-delete" onclick="return confirm('{{ 'tag.confirm.delete'|trans({'%name%': tag.label})|escape('js') }}')">
<i class="material-icons">delete</i>
</a>
{% if app.user.config.feedToken %}
<a rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" class="card-tag-icon"><i class="material-icons">rss_feed</i></a>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long