summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-01 22:35:40 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-01 22:35:40 +0300
commite834742407a74c26a443cce888c8ab0c210bf1cd (patch)
tree96a3d71634736e37448e6448d68f9d107023f13a /app/views/snippets
parentb8f6d67b96991e8089fb3b139d4e17994af60b17 (diff)
downloadgitlab-ce-e834742407a74c26a443cce888c8ab0c210bf1cd.tar.gz
Dont load bootstrap buttons. Modified css with new buttons
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/current_user_index.html.haml7
-rw-r--r--app/views/snippets/index.html.haml8
-rw-r--r--app/views/snippets/show.html.haml2
3 files changed, 10 insertions, 7 deletions
diff --git a/app/views/snippets/current_user_index.html.haml b/app/views/snippets/current_user_index.html.haml
index b60026f4584..a2a9aef04eb 100644
--- a/app/views/snippets/current_user_index.html.haml
+++ b/app/views/snippets/current_user_index.html.haml
@@ -1,12 +1,13 @@
%h3.page-title
My Snippets
- %small share code pastes with others out of git repository
.pull-right
- = link_to new_snippet_path, class: "btn btn-small add_new grouped btn-primary", title: "New Snippet" do
+ = link_to new_snippet_path, class: "btn btn-new grouped", title: "New Snippet" do
Add new snippet
- = link_to snippets_path, class: "btn btn-small grouped" do
+ = link_to snippets_path, class: "btn grouped" do
Discover snippets
+%p.light
+ Share code pastes with others out of git repository
%hr
.row
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index c65ed4fb9df..2f6c914a159 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -1,13 +1,15 @@
%h3.page-title
Public snippets
- %small share code pastes with others out of git repository
.pull-right
- = link_to new_snippet_path, class: "btn btn-small add_new grouped btn-primary", title: "New Snippet" do
+ = link_to new_snippet_path, class: "btn btn-new grouped", title: "New Snippet" do
Add new snippet
- = link_to user_snippets_path(current_user), class: "btn btn-small grouped" do
+ = link_to user_snippets_path(current_user), class: "btn grouped" do
My snippets
+%p.light
+ Public snippets created by you and other users are listed here
+
%hr
= render 'snippets'
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 5cf1fefe5f0..37f9e7576f5 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -7,7 +7,7 @@
private
.pull-right
- = link_to new_snippet_path, class: "btn btn-small add_new grouped btn-primary", title: "New Snippet" do
+ = link_to new_snippet_path, class: "btn btn-new btn-small", title: "New Snippet" do
Add new snippet