Commit ae11eade authored by Rémy Coutable's avatar Rémy Coutable

Fix Weight display in Issuables' collapsed sidebar

parent 471fb979
...@@ -99,6 +99,13 @@ ...@@ -99,6 +99,13 @@
- if issuable.respond_to?(:weight) - if issuable.respond_to?(:weight)
.block.weight .block.weight
.sidebar-collapsed-icon
= icon('balance-scale')
%span
- if issuable.weight
= issuable.weight
- else
No
.title .title
%label Weight %label Weight
- if can?(current_user, :"admin_#{issuable.to_ability_name}", @project) - if can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment