diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-22 22:28:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-22 22:28:02 +0200 |
commit | 81da8e46f24913ccf42d3e2644962cbcbc0f9c2e (patch) | |
tree | 682ef5480670bc40599dfd44ccdb877e9ba876f8 /app/views/projects | |
parent | 6f2c19320464c928e3dae0373a7af315bf5fb043 (diff) | |
download | gitlab-ce-81da8e46f24913ccf42d3e2644962cbcbc0f9c2e.tar.gz |
Remove button for empty repo. Last push on dashboard. Better notes count indicator for issues
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/empty.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 3fb81370853..249442c15b5 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -38,3 +38,7 @@ "git remote add origin #{@project.url_to_repo}", "git push -u origin master"].join("\n") = raw bash_lexer.highlight(exist_repo_setup_str) + + - if can? current_user, :admin_project, @project + .alert-message.block-message.error.prepend-top-20 + = link_to 'Remove project', @project, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger" |