Commit 4d2b67ac authored by Stan Hu's avatar Stan Hu

Don't display "git clone --bare <URL>" if no URL is available

Introduced in !1231
parent 080a086d
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
%h2 %h2
%i.fa.fa-spinner.fa-spin %i.fa.fa-spinner.fa-spin
Import in progress. Import in progress.
- if @project.import_url.present?
%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