Skip to content

Commit

Permalink
Patch the TOTAL execution count widget b/c it was incorrect
Browse files Browse the repository at this point in the history
- can't have <li> elements outside of <ul>
- spacing between label & number was missing - inconsistent with
  the labels above
- point the URL explicitly to the current TR instead of using '#'

Note: when using '#' for the URL and filtering by status the
resulting URL was
'/runs/123/?status_id=x#', now it is '/runs/123/'!
  • Loading branch information
atodorov committed Apr 15, 2020
1 parent 610d120 commit 7fe98df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tcms/testruns/templates/testruns/get.html
Expand Up @@ -96,9 +96,9 @@ <h2 class="card-pf-title" style="text-align: left">
{% endfor %}
</ul>

<li class="list-group-item" style="text-align: center; padding: 0;">
<label>{% trans "TOTAL" %}</label>-<a href="#" class="total-execution-count"></a>
</li>
<div style="text-align: center">
<label>{% trans "TOTAL" %}</label> - <a href="{% url 'testruns-get' object.pk %}" class="total-execution-count"></a>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 7fe98df

Please sign in to comment.