mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 14:52:16 +00:00
Fix chain details switches.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<div class="span12">
|
<div class="span12">
|
||||||
{% if user.is_authenticated or not store.editor or user.is_superuser %}
|
{% if user.is_authenticated or not store.editor or user.is_superuser %}
|
||||||
<p>
|
<p>
|
||||||
{% switch claim_support %}{% if not chain.editor %}<a href="{% url "chain-claim" chain.slug %}" class="btn btn-small">Claim Chain</a>{% endif %}{% switchflag %}
|
{% switch claim_support %}{% if not chain.editor %}<a href="{% url "chain-claim" chain.slug %}" class="btn btn-small">Claim Chain</a>{% endif %}{% endswitch %}
|
||||||
{% if is_editor %}<a href="#" class="btn btn-small">Edit Chain</a>{% endif %}
|
{% if is_editor %}<a href="#" class="btn btn-small">Edit Chain</a>{% endif %}
|
||||||
{% if user.is_superuser %}<a href="{% url "admin:stores_chain_change" chain.pk %}" class="btn btn-small">Edit in Admin</a>{% endif %}
|
{% if user.is_superuser %}<a href="{% url "admin:stores_chain_change" chain.pk %}" class="btn btn-small">Edit in Admin</a>{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user