Update web/templates/settings/home.html
This commit is contained in:
parent
45ba61c7a6
commit
2fa44917dd
@ -11,6 +11,7 @@
|
||||
<!-- Your future settings content goes here -->
|
||||
</div>
|
||||
|
||||
{% if user.is_authenticated and user.is_superuser %}
|
||||
<h1 class="page-title">Tools</h1>
|
||||
|
||||
<!-- Tools box -->
|
||||
@ -29,7 +30,6 @@
|
||||
<button class="btn btn-secondary">Preview (dry-run)</button>
|
||||
</form>
|
||||
|
||||
{% if user.is_authenticated and user.is_staff %}
|
||||
<form method="post" action="{% url 'normalize_scripture' %}" class="inline">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-danger"
|
||||
@ -37,7 +37,6 @@
|
||||
Apply to all
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -56,7 +55,6 @@
|
||||
<button class="btn btn-secondary">Preview (dry-run)</button>
|
||||
</form>
|
||||
|
||||
{% if user.is_authenticated and user.is_staff %}
|
||||
<form method="post" action="{% url 'normalize_source' %}" class="inline">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-danger"
|
||||
@ -64,7 +62,6 @@
|
||||
Apply to all
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -84,7 +81,6 @@
|
||||
<button class="btn btn-secondary">Dry-run Preview</button>
|
||||
</form>
|
||||
|
||||
{% if user.is_authenticated and user.is_staff %}
|
||||
<form method="post" action="{% url 'normalize_subjects' %}" class="inline">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-danger"
|
||||
@ -92,10 +88,10 @@
|
||||
Apply to all
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user