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 @@ ...@@ -3,8 +3,11 @@
.center .center
%h2 %h2
%i.fa.fa-spinner.fa-spin %i.fa.fa-spinner.fa-spin
Import in progress. - if @project.forked?
- if @project.import_url.present? Forking in progress.
- else
Import in progress.
- unless @project.forked?
%p.monospace git clone --bare #{hidden_pass_url(@project.import_url)} %p.monospace git clone --bare #{hidden_pass_url(@project.import_url)}
%p Please wait while we import the repository for you. Refresh at will. %p Please wait while we import the repository for you. Refresh at will.
:javascript :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