From cf9b8de29f4ac4f3232b5285c415fb3ae79b3239 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Oct 2023 02:44:58 +0300 Subject: [PATCH] fix events grid --- .../activity/event/torrent/add.html.twig | 26 +++++++------ .../event/torrent/download/file/add.html.twig | 26 +++++++------ .../torrent/download/magnet/add.html.twig | 26 +++++++------ .../event/torrent/locales/add.html.twig | 38 ++++++++++--------- .../torrent/locales/approve/add.html.twig | 38 ++++++++++--------- .../torrent/locales/approve/delete.html.twig | 38 ++++++++++--------- .../event/torrent/locales/delete.html.twig | 38 ++++++++++--------- .../event/torrent/sensitive/add.html.twig | 38 ++++++++++--------- .../torrent/sensitive/approve/add.html.twig | 38 ++++++++++--------- .../sensitive/approve/delete.html.twig | 38 ++++++++++--------- .../event/torrent/sensitive/delete.html.twig | 38 ++++++++++--------- .../activity/event/torrent/star/add.html.twig | 26 +++++++------ .../event/torrent/star/delete.html.twig | 27 +++++++------ .../activity/event/undefined.html.twig | 20 ++++++---- .../default/activity/event/user/add.html.twig | 21 ++++++---- .../activity/event/user/approve/add.html.twig | 26 +++++++------ .../event/user/approve/delete.html.twig | 26 +++++++------ .../event/user/moderator/add.html.twig | 26 +++++++------ .../event/user/moderator/delete.html.twig | 26 +++++++------ .../activity/event/user/star/add.html.twig | 26 +++++++------ .../activity/event/user/star/delete.html.twig | 26 +++++++------ .../activity/event/user/status/add.html.twig | 26 +++++++------ .../event/user/status/delete.html.twig | 27 +++++++------ 23 files changed, 390 insertions(+), 295 deletions(-) diff --git a/templates/default/activity/event/torrent/add.html.twig b/templates/default/activity/event/torrent/add.html.twig index 201afff..f8b2922 100644 --- a/templates/default/activity/event/torrent/add.html.twig +++ b/templates/default/activity/event/torrent/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'added torrent' | trans }} - - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'added torrent' | trans }} + + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/download/file/add.html.twig b/templates/default/activity/event/torrent/download/file/add.html.twig index 545b6b3..b5c7c04 100644 --- a/templates/default/activity/event/torrent/download/file/add.html.twig +++ b/templates/default/activity/event/torrent/download/file/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'downloaded torrent file' | trans }} - - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'downloaded torrent file' | trans }} + + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/download/magnet/add.html.twig b/templates/default/activity/event/torrent/download/magnet/add.html.twig index d82d00a..46529b7 100644 --- a/templates/default/activity/event/torrent/download/magnet/add.html.twig +++ b/templates/default/activity/event/torrent/download/magnet/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'downloaded magnet link' | trans }} - - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'downloaded magnet link' | trans }} + + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/locales/add.html.twig b/templates/default/activity/event/torrent/locales/add.html.twig index 1403bea..cce54b9 100644 --- a/templates/default/activity/event/torrent/locales/add.html.twig +++ b/templates/default/activity/event/torrent/locales/add.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'added locales edition' | trans }} -{% if torrent.locales.exist %} - - #{{ torrent.locales.id }} - -{% else %} - #{{ torrent.locales.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'added locales edition' | trans }} + {% if torrent.locales.exist %} + + #{{ torrent.locales.id }} + + {% else %} + #{{ torrent.locales.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/locales/approve/add.html.twig b/templates/default/activity/event/torrent/locales/approve/add.html.twig index 5272c62..355d982 100644 --- a/templates/default/activity/event/torrent/locales/approve/add.html.twig +++ b/templates/default/activity/event/torrent/locales/approve/add.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'approved locales edition' | trans }} -{% if torrent.locales.exist %} - - #{{ torrent.locales.id }} - -{% else %} - #{{ torrent.locales.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'approved locales edition' | trans }} + {% if torrent.locales.exist %} + + #{{ torrent.locales.id }} + + {% else %} + #{{ torrent.locales.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/locales/approve/delete.html.twig b/templates/default/activity/event/torrent/locales/approve/delete.html.twig index 0165dea..29ddaf3 100644 --- a/templates/default/activity/event/torrent/locales/approve/delete.html.twig +++ b/templates/default/activity/event/torrent/locales/approve/delete.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'disapproved locales edition' | trans }} -{% if torrent.locales.exist %} - - #{{ torrent.locales.id }} - -{% else %} - #{{ torrent.locales.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'disapproved locales edition' | trans }} + {% if torrent.locales.exist %} + + #{{ torrent.locales.id }} + + {% else %} + #{{ torrent.locales.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/locales/delete.html.twig b/templates/default/activity/event/torrent/locales/delete.html.twig index bd6e727..2a99463 100644 --- a/templates/default/activity/event/torrent/locales/delete.html.twig +++ b/templates/default/activity/event/torrent/locales/delete.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'deleted locales edition' | trans }} -{% if torrent.locales.exist %} - - #{{ torrent.locales.id }} - -{% else %} - #{{ torrent.locales.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'deleted locales edition' | trans }} + {% if torrent.locales.exist %} + + #{{ torrent.locales.id }} + + {% else %} + #{{ torrent.locales.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/sensitive/add.html.twig b/templates/default/activity/event/torrent/sensitive/add.html.twig index cab5966..7197391 100644 --- a/templates/default/activity/event/torrent/sensitive/add.html.twig +++ b/templates/default/activity/event/torrent/sensitive/add.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'added sensitive edition' | trans }} -{% if torrent.sensitive.exist %} - - #{{ torrent.sensitive.id }} - -{% else %} - #{{ torrent.sensitive.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'added sensitive edition' | trans }} + {% if torrent.sensitive.exist %} + + #{{ torrent.sensitive.id }} + + {% else %} + #{{ torrent.sensitive.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/sensitive/approve/add.html.twig b/templates/default/activity/event/torrent/sensitive/approve/add.html.twig index c7ac2cd..eddd6f7 100644 --- a/templates/default/activity/event/torrent/sensitive/approve/add.html.twig +++ b/templates/default/activity/event/torrent/sensitive/approve/add.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'approved sensitive edition' | trans }} -{% if torrent.sensitive.exist %} - - #{{ torrent.sensitive.id }} - -{% else %} - #{{ torrent.sensitive.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'approved sensitive edition' | trans }} + {% if torrent.sensitive.exist %} + + #{{ torrent.sensitive.id }} + + {% else %} + #{{ torrent.sensitive.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/sensitive/approve/delete.html.twig b/templates/default/activity/event/torrent/sensitive/approve/delete.html.twig index 4c9fdf9..5ee6348 100644 --- a/templates/default/activity/event/torrent/sensitive/approve/delete.html.twig +++ b/templates/default/activity/event/torrent/sensitive/approve/delete.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'disapproved sensitive edition' | trans }} -{% if torrent.sensitive.exist %} - - #{{ torrent.sensitive.id }} - -{% else %} - #{{ torrent.sensitive.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'disapproved sensitive edition' | trans }} + {% if torrent.sensitive.exist %} + + #{{ torrent.sensitive.id }} + + {% else %} + #{{ torrent.sensitive.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/sensitive/delete.html.twig b/templates/default/activity/event/torrent/sensitive/delete.html.twig index e8f8a17..47c0541 100644 --- a/templates/default/activity/event/torrent/sensitive/delete.html.twig +++ b/templates/default/activity/event/torrent/sensitive/delete.html.twig @@ -1,18 +1,22 @@ - - {{ 'identicon' | trans }} - -{{ 'deleted sensitive edition' | trans }} -{% if torrent.sensitive.exist %} - - #{{ torrent.sensitive.id }} - -{% else %} - #{{ torrent.sensitive.id }} -{% endif %} -{{ 'for torrent' | trans }} - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + {{ 'deleted sensitive edition' | trans }} + {% if torrent.sensitive.exist %} + + #{{ torrent.sensitive.id }} + + {% else %} + #{{ torrent.sensitive.id }} + {% endif %} + {{ 'for torrent' | trans }} + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/star/add.html.twig b/templates/default/activity/event/torrent/star/add.html.twig index 95ab0f4..3ea5224 100644 --- a/templates/default/activity/event/torrent/star/add.html.twig +++ b/templates/default/activity/event/torrent/star/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - -{{ 'added star to torrent' | trans }} - - - {{ torrent.name }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'added star to torrent' | trans }} + + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/torrent/star/delete.html.twig b/templates/default/activity/event/torrent/star/delete.html.twig index cfdcc38..3e7c292 100644 --- a/templates/default/activity/event/torrent/star/delete.html.twig +++ b/templates/default/activity/event/torrent/star/delete.html.twig @@ -1,12 +1,17 @@ - - {{ 'identicon' | trans }} - - -{{ 'removed star from torrent' | trans }} - - - {{ torrent.name }} - -
- {{ added | format_ago }} + +
+
+ + {{ 'identicon' | trans }} + + + {{ 'removed star from torrent' | trans }} + + + {{ torrent.name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/undefined.html.twig b/templates/default/activity/event/undefined.html.twig index 9278683..21f6180 100644 --- a/templates/default/activity/event/undefined.html.twig +++ b/templates/default/activity/event/undefined.html.twig @@ -1,9 +1,13 @@ - - {{ 'identicon' | trans }} - - - {{ 'undefined event' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'undefined event' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/add.html.twig b/templates/default/activity/event/user/add.html.twig index 133d725..8c2c741 100644 --- a/templates/default/activity/event/user/add.html.twig +++ b/templates/default/activity/event/user/add.html.twig @@ -1,9 +1,14 @@ - - {{ 'identicon' | trans }} - - - {{ 'joined' | trans }} {{ name }} - -
- {{ added | format_ago }} + +
+
+ + {{ 'identicon' | trans }} + + + {{ 'joined' | trans }} {{ name }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/approve/add.html.twig b/templates/default/activity/event/user/approve/add.html.twig index eaaf469..d3adce4 100644 --- a/templates/default/activity/event/user/approve/add.html.twig +++ b/templates/default/activity/event/user/approve/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'approved by' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'approved by' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/approve/delete.html.twig b/templates/default/activity/event/user/approve/delete.html.twig index c1f3ff8..def7608 100644 --- a/templates/default/activity/event/user/approve/delete.html.twig +++ b/templates/default/activity/event/user/approve/delete.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'disapproved by' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'disapproved by' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/moderator/add.html.twig b/templates/default/activity/event/user/moderator/add.html.twig index f907b83..3d19170 100644 --- a/templates/default/activity/event/user/moderator/add.html.twig +++ b/templates/default/activity/event/user/moderator/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'grant moderator permissions to' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'grant moderator permissions to' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/moderator/delete.html.twig b/templates/default/activity/event/user/moderator/delete.html.twig index f98c741..eaee6cc 100644 --- a/templates/default/activity/event/user/moderator/delete.html.twig +++ b/templates/default/activity/event/user/moderator/delete.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'remove moderator permissions from' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'remove moderator permissions from' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/star/add.html.twig b/templates/default/activity/event/user/star/add.html.twig index 0eea414..7c1903f 100644 --- a/templates/default/activity/event/user/star/add.html.twig +++ b/templates/default/activity/event/user/star/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - -{{ 'added star to' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'added star to' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/star/delete.html.twig b/templates/default/activity/event/user/star/delete.html.twig index 8e7a96e..2fed12a 100644 --- a/templates/default/activity/event/user/star/delete.html.twig +++ b/templates/default/activity/event/user/star/delete.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - -{{ 'removed star from' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'removed star from' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/status/add.html.twig b/templates/default/activity/event/user/status/add.html.twig index 53c422a..0d45e87 100644 --- a/templates/default/activity/event/user/status/add.html.twig +++ b/templates/default/activity/event/user/status/add.html.twig @@ -1,12 +1,16 @@ - - {{ 'identicon' | trans }} - - - {{ 'enable user' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} +
+
+ + {{ 'identicon' | trans }} + + + {{ 'enable user' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file diff --git a/templates/default/activity/event/user/status/delete.html.twig b/templates/default/activity/event/user/status/delete.html.twig index 60fca4d..d12f97d 100644 --- a/templates/default/activity/event/user/status/delete.html.twig +++ b/templates/default/activity/event/user/status/delete.html.twig @@ -1,12 +1,17 @@ - - {{ 'identicon' | trans }} - - - {{ 'diable user' | trans }} - - - {{ 'identicon' | trans }} - -
- {{ added | format_ago }} + +
+
+ + {{ 'identicon' | trans }} + + + {{ 'diable user' | trans }} + + + {{ 'identicon' | trans }} + +
+
+ {{ added | format_ago }} +
\ No newline at end of file