Skip to content

Commit

Permalink
Style the patchinfo count with a badge
Browse files Browse the repository at this point in the history
Follow up of #6465

Co-authored-by: Saray Cabrera Padrón <scabrerapadron@suse.de>
  • Loading branch information
bgeuken and saraycp committed Dec 6, 2018
1 parent 8ea707f commit f56280e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/app/views/webui2/webui/users/tasks/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
%ul.nav.nav-tabs.pt-2.px-3.flex-nowrap.collapsible{ 'role': 'tablist' }
%li.nav-item
%a.nav-link.text-nowrap.active{ href: '#patchinfos-in', title: "Requests that #{User.current} has to merge" }
Maintenance Requests (#{involved_patchinfos.size})
Maintenance Requests
%span.badge.badge-primary
= involved_patchinfos.size
.card-body
.tab-content#patchinfos-in
= render(partial: 'webui2/shared/patchinfos_table', locals: { involved_patchinfos: involved_patchinfos })

0 comments on commit f56280e

Please sign in to comment.