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>2016-01-07 15:04:25 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-07 17:16:12 +0300
commit44dc9aa69e19d90564fdb279f9e8d51b5caf2cae (patch)
tree4e65cadcc4ff7de0dee3b596cab1bab12e3eb8ea /app/views/projects/commits/show.html.haml
parent4443a5f3c76015f7bf083248b6910d01839cfc88 (diff)
Fix typo in js method and some repeating css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/commits/show.html.haml')
-rw-r--r--app/views/projects/commits/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml
index 8f6625fef8a..034057da42e 100644
--- a/app/views/projects/commits/show.html.haml
+++ b/app/views/projects/commits/show.html.haml
@@ -10,19 +10,19 @@
.tree-ref-holder
= render 'shared/ref_switcher', destination: 'commits'
- .pull-right.hidden-xs.hidden-sm
+ .block-controls.hidden-xs.hidden-sm
- if create_mr_button?(@repository.root_ref, @ref)
- .pull-left.prepend-left-10
+ .control
= link_to create_mr_path(@repository.root_ref, @ref), class: 'btn btn-success' do
= icon('plus')
Create Merge Request
- .pull-left.prepend-left-10
+ .control
= form_tag(namespace_project_commits_path(@project.namespace, @project, @id), method: :get, class: 'pull-left commits-search-form') do
= search_field_tag :search, params[:search], { placeholder: 'Filter by commit message', id: 'commits-search', class: 'form-control search-text-input', spellcheck: false }
- if current_user && current_user.private_token
- .pull-left.prepend-left-10
+ .control
= link_to namespace_project_commits_path(@project.namespace, @project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Commits Feed", class: 'btn' do
= icon("rss")