summaryrefslogtreecommitdiff
path: root/app/views/projects/network
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 02:50:46 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 02:50:46 +0100
commit1d250b48922ef88b14ad8ce2af157e2f2d256773 (patch)
tree65d64e5b616c9dbb981f27b0c3ee4131c9e36980 /app/views/projects/network
parent6213263d323e21357f682bb752c4dd9eb8421a03 (diff)
downloadgitlab-ce-1d250b48922ef88b14ad8ce2af157e2f2d256773.tar.gz
Move Network page from separate tab to sub tab of Commits
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/network')
-rw-r--r--app/views/projects/network/_head.html.haml2
-rw-r--r--app/views/projects/network/show.html.haml3
2 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml
index 9e0e0dc6bb0..28a617538b5 100644
--- a/app/views/projects/network/_head.html.haml
+++ b/app/views/projects/network/_head.html.haml
@@ -1,4 +1,4 @@
-.gray-content-block.top-block.append-bottom-default
+.gray-content-block.append-bottom-default
.tree-ref-holder
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml
index 16005161df6..8065663ca2a 100644
--- a/app/views/projects/network/show.html.haml
+++ b/app/views/projects/network/show.html.haml
@@ -1,5 +1,6 @@
- page_title "Network", @ref
-= header_title project_title(@project, "Network", namespace_project_network_path(@project.namespace, @project, current_ref))
+= render "projects/commits/header_title"
+= render "projects/commits/head"
= render "head"
.project-network
.controls