Skip to content

Commit

Permalink
Merge pull request #6583 from dmarcoux/add-missing-tooltips-in-projec…
Browse files Browse the repository at this point in the history
…t-status

Add missing tooltips in project status
  • Loading branch information
Dany Marcoux committed Dec 12, 2018
2 parents 1682487 + 32371ac commit 96be8cc
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 96be8cc

Please sign in to comment.