mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 04:56:16 +10:00
Merge branch 'import-in-progress-fix' into 'master'
Don't display "git clone --bare <URL>" if no URL is available Make it clear that forking is different than importing. Forked repositories don't use `import_url`, so only display if is available. Introduced in !1231 Before:  After:  See merge request !1295
This commit is contained in:
@@ -3,8 +3,12 @@
|
||||
.center
|
||||
%h2
|
||||
%i.fa.fa-spinner.fa-spin
|
||||
Import in progress.
|
||||
%p.monospace git clone --bare #{hidden_pass_url(@project.import_url)}
|
||||
- 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
|
||||
new ProjectImport();
|
||||
|
||||
Reference in New Issue
Block a user