Skip to content

Commit

Permalink
Show karma (and request and status) with colors in the updates list v…
Browse files Browse the repository at this point in the history
…iew. Fixes #373.
  • Loading branch information
ralphbean committed Aug 26, 2015
1 parent 2c3bba9 commit 387e1f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions bodhi/templates/fragments.html
Expand Up @@ -89,10 +89,19 @@
</a>
% endif
</td>
<td class="hidejs">
${util.karma2html(update['karma']) | n}
</td>
%if display_request:
<td class="hidejs">${update['request'] or ''}</td>
<td class="hidejs">
% if update['request']:
${util.request2html(update['request']) | n}
% endif
</td>
%endif
<td class="hidejs">${update['status']}</td>
<td class="hidejs">
${util.status2html(update['status']) | n}
</td>
</%def>

<%def name="override(override, display_user=True)">
Expand Down
3 changes: 2 additions & 1 deletion bodhi/templates/tables.html
Expand Up @@ -9,7 +9,8 @@
%if display_user:
<th class="nobreak">Submitter</th>
%endif
<th class="hidejs">Release(s)</th>
<th class="hidejs">Release</th>
<th class="hidejs">Karma</th>
%if display_request:
<th class="hidejs">Request</th>
%endif
Expand Down

0 comments on commit 387e1f7

Please sign in to comment.