Skip to content

Commit cddd4e8

Browse files
-
1 parent 2fef2cb commit cddd4e8

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed
13.5 KB
Loading
11.5 KB
Loading

templates/Modules/subscription/subscription_index.html.twig

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
{% block thead %}
2929
<tr>
3030
<th>{{ 'type'|trans }}</th>
31-
<th>{{ 'os'|trans }}</th>
32-
<th>{{ 'client'|trans }}</th>
33-
<th class="d-none d-xl-table-cell">{{ 'ip'|trans }}</th>
31+
<th>{{ 'details'|trans }}</th>
3432
<th>{{ 'notifications'|trans }}</th>
3533
<th class="d-none d-xl-table-cell">{{ 'created_at'|trans }}{{ appImport.badge({'title': 'sort_desc'|trans, 'context': 'light'}) }}</th>
3634
<th class="text-nowrap">&nbsp;</th>
@@ -44,13 +42,14 @@
4442
{{ ('subscription_' ~ subscription.type)|trans }}
4543
</td>
4644
<td>
47-
{{ subscription.os }}
48-
</td>
49-
<td>
50-
{{ subscription.client }}
51-
</td>
52-
<td class="d-none d-xl-table-cell">
53-
{{ subscription.ip }}
45+
{% if 'email' == subscription.type %}
46+
{{ subscription.endpoint }}<br>
47+
{% endif %}
48+
49+
{% if 'push' == subscription.type %}
50+
{{ subscription.os }}<br>
51+
{{ subscription.client }}
52+
{% endif %}
5453
</td>
5554
<td>
5655
{{ subscription.notifications|join(', ') }}

0 commit comments

Comments
 (0)