diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-07 23:56:57 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-07 23:56:57 +0200 |
commit | d68ec5e0fb156e56c2e057eefe2e473d72d44c1f (patch) | |
tree | 0ced51dbab6f99f8fea1004ef2b2f658174b4f92 /app/views/layouts/project.html.haml | |
parent | 2552a877df7fdb2c0a17a88479a5e49f315bcbad (diff) | |
download | gitlab-ce-d68ec5e0fb156e56c2e057eefe2e473d72d44c1f.tar.gz |
default_branch for project & fixed project destroy
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r-- | app/views/layouts/project.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml index 90d8a54a4d5..8a39dece6cd 100644 --- a/app/views/layouts/project.html.haml +++ b/app/views/layouts/project.html.haml @@ -49,7 +49,7 @@ %span{ :class => "number" }= @project.snippets.non_expired.count - if can? current_user, :admin_project, @project - = link_to "Project", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil + = link_to "Admin", edit_project_path(@project), :class => (current_page?(edit_project_path(@project))) ? "current" : nil .medium-tags{:style => 'padding: 10px 0 0 10px; width: 210px;'}= tag_list @project |