Changes for authenticated-only account
svn: r19841
This commit is contained in:
parent
eb6d9c7b0f
commit
8f3a7f04ff
@ -28,9 +28,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% if user.is_superuser %}
|
||||
{% make_button "Go to reference" url %}
|
||||
{% make_button "Go back" referenced_by %}
|
||||
{% endif %}
|
||||
{% make_button "Go to reference" url %}
|
||||
{% make_button "Go back" referenced_by %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -114,7 +114,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
{% if user.is_superuser %}
|
||||
{% ifequal action "add" %}
|
||||
{% make_button "Cancel" "/person/%s" person.handle args "#tab-names" %}
|
||||
<input type="hidden" name="action" value="create"/>
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
{% if user.is_superuser %}
|
||||
{% if action == "edit" %}
|
||||
{% make_button "Cancel" "/person/%s/name/%s/surname/%s" person.handle order sorder args %}
|
||||
<input type="hidden" name="action" value="save"/>
|
||||
|
Loading…
Reference in New Issue
Block a user