diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-21 23:09:46 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-21 23:09:46 +0200 |
commit | af82b6773b9b81cdac83afb702565207c00bad87 (patch) | |
tree | eb9102b5712cb020188bb05d32e4c6684b14c8aa | |
parent | fb17234b055377c95ffe1478df3d8375a1080d5a (diff) | |
download | gitlab-ce-af82b6773b9b81cdac83afb702565207c00bad87.tar.gz |
btn padded class
-rw-r--r-- | app/assets/stylesheets/common.scss | 4 | ||||
-rw-r--r-- | app/views/widgets/_project_member.html.haml | 3 | ||||
-rw-r--r-- | app/views/wikis/show.html.haml | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 19baf272eb6..9fd0f2eac20 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -370,3 +370,7 @@ table a code { .span12 hr{ margin-top: 5px; } + +.btn.padded { + margin-right:3px; +} diff --git a/app/views/widgets/_project_member.html.haml b/app/views/widgets/_project_member.html.haml index 1b1b70b73ca..5756ecc931d 100644 --- a/app/views/widgets/_project_member.html.haml +++ b/app/views/widgets/_project_member.html.haml @@ -25,9 +25,8 @@ %br %br - if @project.merge_requests_enabled - = link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small" do + = link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small padded" do Merge Request - - if @project.issues_enabled = link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do Issue diff --git a/app/views/wikis/show.html.haml b/app/views/wikis/show.html.haml index 685b76c4442..1395a5905f0 100644 --- a/app/views/wikis/show.html.haml +++ b/app/views/wikis/show.html.haml @@ -2,7 +2,7 @@ = @wiki.title %span.right - if can? current_user, :write_wiki, @project - = link_to history_project_wiki_path(@project, @wiki), :class => "btn small" do + = link_to history_project_wiki_path(@project, @wiki), :class => "btn small padded" do History = link_to edit_project_wiki_path(@project, @wiki), :class => "btn small" do Edit |