mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-24 23:03:45 +00:00
styling for users without lock perms
This commit is contained in:
parent
a7f2163f7c
commit
196bb4ba89
1 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue