p96 follow up
This commit is contained in:
@@ -226,19 +226,25 @@
|
||||
physischen Retrieval-Artefakte wieder gerade.
|
||||
</div>
|
||||
|
||||
<form method="post"
|
||||
action="{{ path('admin_global_reindex') }}"
|
||||
onsubmit="return confirm('Global Reindex starten? Dies kann mehrere Minuten dauern.');">
|
||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||
<form method="post"
|
||||
action="{{ path('admin_global_reindex') }}"
|
||||
onsubmit="return confirm('Global Reindex starten? Dies kann mehrere Minuten dauern.');">
|
||||
|
||||
<input type="hidden"
|
||||
name="_token"
|
||||
value="{{ csrf_token('global_reindex') }}">
|
||||
<input type="hidden"
|
||||
name="_token"
|
||||
value="{{ csrf_token('global_reindex') }}">
|
||||
|
||||
<button type="submit"
|
||||
class="btn btn-sm btn-outline-info">
|
||||
Global Reindex starten
|
||||
</button>
|
||||
</form>
|
||||
<button type="submit"
|
||||
class="btn btn-sm btn-outline-info">
|
||||
Global Reindex starten
|
||||
</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<div class="alert alert-dark border border-secondary text-light small mb-0">
|
||||
Global Reindex ist Super-Admins vorbehalten.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if anyHealthIssue %}
|
||||
<div class="alert alert-dark border border-warning text-light small mt-3 mb-0">
|
||||
|
||||
Reference in New Issue
Block a user