Files
gitlabhq/app/views/shared/_mirror_update_button.html.haml
T

10 lines
336 B
Plaintext

- if @project.mirror? && can?(current_user, :push_code, @project)
- if @project.updating_mirror?
%span.btn.disabled
= icon('refresh')
Updating…
- else
= link_to update_now_namespace_project_mirror_path(@project.namespace, @project), method: :post, class: "btn" do
= icon('refresh')
Update Now