diff options
author | Cyril <jv.cyril@gmail.com> | 2012-09-27 20:59:42 +0200 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-09-27 20:59:42 +0200 |
commit | be18397d82ca16fefed7287c8078a9b41bf37c95 (patch) | |
tree | 1f821afcb942bdda9da1aaa6abc571d90cafe884 /app/views/layouts/project.html.haml | |
parent | 933c5e414600d5e0170213db574ba6431c1444e4 (diff) | |
download | gitlab-ce-be18397d82ca16fefed7287c8078a9b41bf37c95.tar.gz |
rename ProjectController to ProjectResourceController
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r-- | app/views/layouts/project.html.haml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml deleted file mode 100644 index b1dbe41ce65..00000000000 --- a/app/views/layouts/project.html.haml +++ /dev/null @@ -1,41 +0,0 @@ -!!! 5 -%html{ lang: "en"} - = render "layouts/head" - %body{class: "#{app_theme} project"} - = render "layouts/flash" - = render "layouts/head_panel", title: @project.name - .container - %ul.main_menu - = nav_link(html_options: {class: "home #{project_tab_class}"}) do - = link_to @project.code, project_path(@project), title: "Project" - - - if @project.repo_exists? - - if can? current_user, :download_code, @project - = nav_link(controller: %w(tree blob blame)) do - = link_to 'Files', project_tree_path(@project, @ref || @project.root_ref) - = nav_link(controller: %w(commit commits compare repositories protected_branches)) do - = link_to "Commits", project_commits_path(@project, @ref || @project.root_ref) - = nav_link(path: 'projects#graph') do - = link_to "Network", graph_project_path(@project) - - - if @project.issues_enabled - = nav_link(controller: %w(issues milestones labels)) do - = link_to project_issues_filter_path(@project) do - Issues - %span.count.issue_counter= @project.issues.opened.count - - - if @project.repo_exists? && @project.merge_requests_enabled - = nav_link(controller: :merge_requests) do - = link_to project_merge_requests_path(@project) do - Merge Requests - %span.count.merge_counter= @project.merge_requests.opened.count - - - if @project.wall_enabled - = nav_link(path: 'projects#wall') do - = link_to 'Wall', wall_project_path(@project) - - - if @project.wiki_enabled - = nav_link(controller: :wikis) do - = link_to 'Wiki', project_wiki_path(@project, :index) - - .content= yield |