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:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-25 02:18:39 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-25 02:19:40 +0400
commited4dcf7484149c4432597c81b9ce1324010e036a (patch)
tree103b2c62a0f66c259ed7334f65318ee79042b5d2 /app/views/snippets/index.html.haml
parent3d3e40c251179654d136d9838087f275c549e827 (diff)
View improved. Pagination added
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r--app/views/snippets/index.html.haml12
1 files changed, 3 insertions, 9 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index 2c00dd465db..97f7b39877e 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -1,17 +1,11 @@
%h3.page_title
- Snippets
+ Public snippets
%small share code pastes with others out of git repository
= link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
Add new snippet
%hr
.row
- .span3
- %ul.nav.nav-pills.nav-stacked
- = nav_tab :scope, nil do
- = link_to "All", snippets_path
- = nav_tab :scope, 'projects' do
- = link_to "Projects", snippets_path(scope: 'projects')
-
- .span9
+ .span12
= render 'snippets'
+