Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 18:59:58 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 18:59:58 +0400
commit88c741dde062e320ad007a2c5ccb4e7bdc6cdacf (patch)
tree71f4d4eafbcfde57674c74e13c75f736d248ad57 /app/views/projects/repositories
parentbb5e50e0f78ec0dc68d637a43b6ea9889ef1a10d (diff)
Refactor recent branches page
Diffstat (limited to 'app/views/projects/repositories')
-rw-r--r--app/views/projects/repositories/_filter.html.haml17
-rw-r--r--app/views/projects/repositories/show.html.haml9
2 files changed, 0 insertions, 26 deletions
diff --git a/app/views/projects/repositories/_filter.html.haml b/app/views/projects/repositories/_filter.html.haml
deleted file mode 100644
index 660d9d25a35..00000000000
--- a/app/views/projects/repositories/_filter.html.haml
+++ /dev/null
@@ -1,17 +0,0 @@
-%ul.nav.nav-pills.nav-stacked
- = nav_link(path: 'repositories#show') do
- = link_to 'Recent', project_repository_path(@project)
- = nav_link(path: 'protected_branches#index') do
- = link_to project_protected_branches_path(@project) do
- Protected
- %i.icon-lock
- = nav_link(path: 'branches#index') do
- = link_to 'All branches', project_branches_path(@project)
-
-
-%hr
-- if can? current_user, :push_code, @project
- = link_to new_project_branch_path(@project), class: 'btn btn-create' do
- %i.icon-add-sign
- New branch
-
diff --git a/app/views/projects/repositories/show.html.haml b/app/views/projects/repositories/show.html.haml
deleted file mode 100644
index 611d0eddc4c..00000000000
--- a/app/views/projects/repositories/show.html.haml
+++ /dev/null
@@ -1,9 +0,0 @@
-= render "projects/commits/head"
-.row
- .span3
- = render "filter"
- .span9
- %ul.bordered-list
- - @activities.each do |update|
- = render "projects/branches/branch", branch: update.head
-