Skip to content

Commit

Permalink
#100 color
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 24, 2020
1 parent 8382782 commit 8a80c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/project.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- project.badges.all.each do |b|
= partial(:badge, locals, text: b[:text])
- if Xia::Rank.new(the_author).ok?('badges.detach')
%a.lemonchiffon{href: iri.cut('/p').append(project.id).append('detach').append(b[:id]), onclick: 'return confirm("Are you sure?");'}<
%a.tomato{href: iri.cut('/p').append(project.id).append('detach').append(b[:id]), onclick: 'return confirm("Are you sure?");'}<
= '✘'

- if Xia::Rank.new(the_author).ok?('badges.attach')
Expand Down

0 comments on commit 8a80c24

Please sign in to comment.