styling for users without lock perms

This commit is contained in:
Dave Cranwell 2014-09-02 13:16:57 +01:00
parent a7f2163f7c
commit 196bb4ba89

View file

@ -14,6 +14,8 @@
<input type="hidden" name="next" value="{% url 'wagtailadmin_pages_edit' page.id %}">
<input type="submit" class="unbutton" value="{% trans "Locked" %}">
</form>
{% else %}
<span class="status-tag primary">Locked</span>
{% endif %}
{% else %}
{% trans "Edit lock" %}
@ -24,6 +26,8 @@
<input type="hidden" name="next" value="{% url 'wagtailadmin_pages_edit' page.id %}">
<input type="submit" class="unbutton" value="{% trans "Unlocked" %}">
</form>
{% else %}
<span class="status-tag secondary">Unlocked</span>
{% endif %}
{% endif %}
</div>