Skip to content

Commit

Permalink
Populate "Change status" dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
asankov authored and atodorov committed Aug 5, 2020
1 parent 694fae3 commit 86c3605
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tcms/testruns/templates/testruns/get.html
Expand Up @@ -154,9 +154,11 @@ <h2 class="card-pf-title">
<button type="button" class="btn btn-default">{% trans "Change assignee" %}</button>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" id="filter-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{% trans "Change status" %} <span class="caret"></span></button>
<ul class="dropdown-menu">
{% comment %} TODO: populate with the statuses from the back-end {% endcomment %}
</ul>
<ul class="dropdown-menu">
{% for status in execution_statuses %}
<li><a href="#">{{ status.name }}</a></li>
{% endfor %}
</ul>
</div>
<button type="button" class="btn btn-default">{% trans "Add comment" %}</button>
<button type="button" class="btn btn-default">{% trans "Add hyperlink" %}</button>
Expand Down

0 comments on commit 86c3605

Please sign in to comment.