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-03-15 16:20:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-15 16:20:03 +0400
commit35ad4fe7db13f3974ca8f0bbce2b39a1b2357b5c (patch)
tree5522dc41d44a072cc1422316bfc34cf35ed3a7c0 /app/views/snippets/index.html.haml
parent39bbdc468f628ae9835926a09e24a91c702ddede (diff)
Use wiki tab for wiki, wall, snippets
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r--app/views/snippets/index.html.haml41
1 files changed, 19 insertions, 22 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index e2b7594395b..5dd00be88d7 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -1,23 +1,20 @@
-.row
- .span3
- = render 'writeboards/nav'
- .span9
- %h3.page_title
- Snippets
- %small share code pastes with others out of git repository
+= render 'wikis/nav'
+%h3.page_title
+ Snippets
+ %small share code pastes with others out of git repository
- - if can? current_user, :write_snippet, @project
- = link_to new_project_snippet_path(@project), class: "btn btn-small add_new pull-right", title: "New Snippet" do
- Add new snippet
- %br
- %table
- %thead
- %tr
- %th Title
- %th File Name
- %th Expires At
- = render @snippets
- - if @snippets.empty?
- %tr
- %td{colspan: 3}
- %h3.nothing_here_message Nothing here.
+ - if can? current_user, :write_snippet, @project
+ = link_to new_project_snippet_path(@project), class: "btn btn-small add_new pull-right", title: "New Snippet" do
+ Add new snippet
+%br
+%table
+ %thead
+ %tr
+ %th Title
+ %th File Name
+ %th Expires At
+ = render @snippets
+ - if @snippets.empty?
+ %tr
+ %td{colspan: 3}
+ %h3.nothing_here_message Nothing here.