Skip to content
Snippets Groups Projects
Commit 5c1b0bdf authored by kaiyou's avatar kaiyou
Browse files

Fix the way profile transitions are displayed

parent 7c36c980
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
</div>
<div class="box-body">
<dl class="dl-horizontal">
{% for transition, (_, _, _, label) in profile.transitions.items() %}
{% for transition, (_, _, _, _, label) in profile.transitions().items() %}
<dt><a href="{{ url_for("profile.start_transition", profile_uuid=profile.uuid, transition=transition) }}">{{ label | capitalize }}</a></dt>
<dd>{{ label | capitalize }} {% trans %}the profile{% endtrans %}</dd>
{% endfor %}
......@@ -57,7 +57,7 @@
{% endblock %}
{% block actions %}
{% for transition, (_, _, _, label) in profile.transitions.items() %}
{% for transition, (_, _, _, _, label) in profile.transitions().items() %}
<a href="{{ url_for("profile.start_transition", profile_uuid=profile.uuid, transition=transition) }}" class="btn btn-info">{{ label | capitalize }}</a>
{% endfor %}
{% endblock %}
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