Skip to content

Commit

Permalink
Add missing tooltips in project status
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcoux committed Dec 12, 2018
1 parent e456c72 commit 32371ac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
= h(comment)
- if User.current.can_modify?(project.api_obj)
- if editable
= link_to(edit_comment_form_path(project: project, package: package_name, comment: comment), remote: true) do
= link_to(edit_comment_form_path(project: project, package: package_name, comment: comment), remote: true, title: 'Edit Comment') do
%i.fas.fa-edit.text-secondary
= link_to(clear_failed_comment_path(project: project, package: package_name), remote: true) do
= link_to(clear_failed_comment_path(project: project, package: package_name), remote: true, title: 'Delete Comment') do
%i.fas.fa-times-circle.text-danger

- elsif editable
%span.unknown_failure
Unknown build failure
- if User.current.can_modify?(project.api_obj)
= link_to(edit_comment_form_path(project: project, package: package_name, comment: ''), remote: true) do
= link_to(edit_comment_form_path(project: project, package: package_name, comment: ''), remote: true, title: 'Edit Comment') do
%i.fas.fa-edit.text-secondary

0 comments on commit 32371ac

Please sign in to comment.