mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 20:46:12 +10:00
10 lines
336 B
Plaintext
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
|