Change hidden to hide (Eloquent blocked keyword)

This commit is contained in:
slawkens
2024-01-27 16:54:48 +01:00
parent 3554b41172
commit d71bab648d
48 changed files with 143 additions and 122 deletions

View File

@@ -20,7 +20,7 @@
<b>
<p>{{ article.title|raw }}
{% if canEdit %}
{{ include('admin.links.html.twig', {page: 'news', id: article.id, hidden: article.hidden }) }}
{{ include('admin.links.html.twig', {page: 'news', id: article.id, hide: article.hide }) }}
{% endif %}
</p>
</b>

View File

@@ -20,7 +20,7 @@
<div id="TickerEntry-{{ i }}-ShortText" class="NewsTickerShortText">{{ ticker.body_short|raw }}</div>
<div id="TickerEntry-{{ i }}-FullText" class="NewsTickerFullText">{{ ticker.body|raw }}
{% if canEdit %}
{{ include('admin.links.html.twig', {page: 'news', id: ticker.id, hidden: ticker.hidden }) }}
{{ include('admin.links.html.twig', {page: 'news', id: ticker.id, hide: ticker.hide }) }}
{% endif %}
</div>
</div>