Skip to content

Commit

Permalink
Show proposal state to admins.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram committed Mar 25, 2019
1 parent 9b91865 commit 3f7f46f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion funnel/templates/proposal.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@
{%- endif %}
<div class="col-auto columns">
<p class="mui--text-body2 mui--text-light zero-bottom-margin">Status</p>
<p class="mui--text-title zero-bottom-margin">{% if proposal.state.CONFIRMED %}{{ proposal.state.label.title }}{% else %}{% trans %}Submitted{% endtrans %}{% endif %}</p>
{%- if project.current_roles.admin %}
<p class="mui--text-title zero-bottom-margin">{{ proposal.state.label.title }}</p>
{%- else %}
<p class="mui--text-title zero-bottom-margin">{% if proposal.state.CONFIRMED %}{{ proposal.state.label.title }}{% else %}{% trans %}Submitted{% endtrans %}{% endif %}</p>
{% endif %}
{% if proposal.state.SCHEDULED %}
<p><a class="" href="{{ proposal.session.url_for() }}">View proposal in schedule</a></p>
{% endif %}
Expand Down

0 comments on commit 3f7f46f

Please sign in to comment.