diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 19baf272eb6edd5f4210a9a026f1df28edf88ea7..9fd0f2eac201f7375bf1a2a6af2ca055ba640cd9 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 1b1b70b73ca3984b3d68402d52e13c00ff2f40cb..5756ecc931dff3cda47fa346a9c86f156952f2df 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 685b76c44421716238c3481e7d14c530413e36b4..1395a5905f0a2bae2be52549ac59db587f6f2676 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