Commit a0228f94 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Reload page during repo import

parent 7ecebdd0
class ProjectImport
constructor: ->
setTimeout ->
Turbolinks.visit(location.href)
, 5000
@ProjectImport = ProjectImport
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
%h3 Importing repository. %h3 Importing repository.
%p.monospace git clone --bare #{@project.import_url} %p.monospace git clone --bare #{@project.import_url}
%p Please wait until we import repository for you. Refresh at will. %p Please wait until we import repository for you. Refresh at will.
:javascript
new ProjectImport();
- else - else
%div.git-empty %div.git-empty
......
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