Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
nm.debian.org
Commits
2c7a0d62
Commit
2c7a0d62
authored
Mar 13, 2012
by
Enrico Zini
Browse files
Added edit and admin links
parent
9468b86a
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/templates/public/person.html
View file @
2c7a0d62
...
...
@@ -60,10 +60,10 @@
{% block breadcrumbs %}{{block.super}} /
<a
href=
"{% url public_people %}"
>
people
</a>
/ {{person.uid|default:person.fullname}}{% endblock %}
{% block relatedpages %}
{{block.super}}
{% if request.am %}
<a
href=
"{% url restricted_person key=person.lookup_key %}"
>
full version
</a>
{% if request.am|is_admin %}
<a
href=
"{% url admin:backend_person_change person.id %}"
>
admin
</a>
{% endif %}
{{block.super}}
{% endblock %}
{% block content %}
...
...
@@ -88,6 +88,10 @@
{% endif %}
</table>
{% if person|editable_by:request.am %}
<a
href=
"{% url restricted_person key=person.lookup_key %}"
>
edit
</a>
{% endif %}
<h2>
Personal history
</h2>
{% usemacro process_table processes %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment