Skip to content
Snippets Groups Projects
Commit 16cf7f50 authored by kaiyou's avatar kaiyou
Browse files

Fix the way profiles are listed

parent 5c1b0bdf
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@
<td>{{ macros.profile_status(profile) }}</td>
<td>{{ profile.created_at.date() }}</td>
<td>
{% for transition, (_, _, _, label) in profile.transitions.items() %}
{% for transition, (_, _, _, _, label) in profile.transitions(current_user.is_admin).items() %}
<a href="{{ url_for("profile.start_transition", profile_uuid=profile.uuid, transition=transition) }}">{{ label | capitalize }}</a>
{% endfor %}
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment