Commit ed4dcf7484149c4432597c81b9ce1324010e036a
1 parent
3d3e40c2
Exists in
master
and in
4 other branches
View improved. Pagination added
Showing
3 changed files
with
6 additions
and
10 deletions
Show diff stats
app/views/snippets/_snippets.html.haml
app/views/snippets/index.html.haml
1 | 1 | %h3.page_title |
2 | - Snippets | |
2 | + Public snippets | |
3 | 3 | %small share code pastes with others out of git repository |
4 | 4 | = link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do |
5 | 5 | Add new snippet |
6 | 6 | |
7 | 7 | %hr |
8 | 8 | .row |
9 | - .span3 | |
10 | - %ul.nav.nav-pills.nav-stacked | |
11 | - = nav_tab :scope, nil do | |
12 | - = link_to "All", snippets_path | |
13 | - = nav_tab :scope, 'projects' do | |
14 | - = link_to "Projects", snippets_path(scope: 'projects') | |
15 | - | |
16 | - .span9 | |
9 | + .span12 | |
17 | 10 | = render 'snippets' |
11 | + | ... | ... |