Commit 2abe7338 authored by Stan Hu's avatar Stan Hu

Display "Forking in Progress" when importing a forked project

parent 4d2b67ac
......@@ -3,8 +3,11 @@
.center
%h2
%i.fa.fa-spinner.fa-spin
Import in progress.
- if @project.import_url.present?
- if @project.forked?
Forking in progress.
- else
Import in progress.
- unless @project.forked?
%p.monospace git clone --bare #{hidden_pass_url(@project.import_url)}
%p Please wait while we import the repository for you. Refresh at will.
:javascript
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment