Changes for authenticated-only account

svn: r19841
This commit is contained in:
Doug Blank 2012-06-15 00:40:11 +00:00
parent eb6d9c7b0f
commit 8f3a7f04ff
3 changed files with 4 additions and 6 deletions

View File

@ -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 %}

View File

@ -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"/>

View File

@ -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"/>