Fix project star tooltip in to show actual message.
This commit is contained in:
parent
f28bbf9468
commit
d8b399a8c6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
- if current_user
|
||||
= link_to toggle_star_namespace_project_path(@project.namespace, @project), class: 'btn star-btn toggle-star has-tooltip', method: :post, remote: true, title: "Star project" do
|
||||
= link_to toggle_star_namespace_project_path(@project.namespace, @project), { class: 'btn star-btn toggle-star has-tooltip', method: :post, remote: true, title: current_user.starred?(@project) ? 'Unstar project' : 'Star project' } do
|
||||
- if current_user.starred?(@project)
|
||||
= icon('star fw')
|
||||
%span.starred Unstar
|
||||
|
|
Loading…
Reference in a new issue