Skip to content
Snippets Groups Projects
Commit e2fb18a3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

replace right with pull-right

parent 7ba4f2dc
No related branches found
No related tags found
2 merge requests!2940Expanding repos and hooks paths in settings,!2770Capistrano deploy
Showing
with 28 additions and 28 deletions
Loading
Loading
@@ -30,5 +30,5 @@
%li
%strong= link_to "Public Access", help_public_access_path
 
.span9.right
.span9.pull-right
= yield
%h3.page_title
GITLAB
.right
.pull-right
%span= Gitlab::Version
%small= Gitlab::Revision
%hr
Loading
Loading
Loading
Loading
@@ -37,6 +37,6 @@
→
%span.monospace= hook.url
%td
.right
.pull-right
= link_to 'Test Hook', test_project_hook_path(@project, hook), class: "btn btn-small grouped"
= link_to 'Remove', project_hook_path(@project, hook), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove btn-small grouped"
Loading
Loading
@@ -16,5 +16,5 @@
 
%fieldset
%hr
= link_to "Reset", project_issues_path(@project), class: 'btn right'
= link_to "Reset", project_issues_path(@project), class: 'btn pull-right'
 
Loading
Loading
@@ -5,7 +5,7 @@
= link_to 'Milestones', project_milestones_path(@project), class: "tab"
= nav_link(controller: :labels) do
= link_to 'Labels', project_labels_path(@project), class: "tab"
%li.right
%li.pull-right
%span.rss-icon
= link_to project_issues_path(@project, :atom, { private_token: current_user.private_token }) do
= image_tag "rss_ui.png", title: "feed"
Loading
Loading
@@ -4,7 +4,7 @@
- if @issues.present?
%li.bottom
.left= paginate @issues, remote: true, theme: "gitlab"
.right
.pull-right
%span.issue_counter #{@issues.total_count}
issues for this filter
- else
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
- if controller.controller_name == 'issues'
.issue_check
= check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue", disabled: !can?(current_user, :modify_issue, issue)
.right
.pull-right
- if issue.notes.any?
%span.btn.btn-small.disabled.grouped
%i.icon-comment
Loading
Loading
Loading
Loading
@@ -3,16 +3,16 @@
%h3.page_title
Issues
%span (<span class=issue_counter>#{@issues.total_count}</span>)
.right
.pull-right
.span5
- if can? current_user, :write_issue, @project
= link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "right btn btn-primary", title: "New Issue", id: "new_issue_link" do
= link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn btn-primary pull-right", title: "New Issue", id: "new_issue_link" do
%i.icon-plus
New Issue
= form_tag search_project_issues_path(@project), method: :get, remote: true, id: "issue_search_form", class: :right do
= form_tag search_project_issues_path(@project), method: :get, remote: true, id: "issue_search_form", class: 'pull-right' do
= hidden_field_tag :project_id, @project.id, { id: 'project_id' }
= hidden_field_tag :status, params[:status]
= search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search span3 right neib search-text-input' }
= search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search span3 pull-right neib search-text-input' }
 
.clearfix
 
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
created at
= @issue.created_at.stamp("Aug 21, 2011")
 
%span.right
%span.pull-right
- if can?(current_user, :admin_project, @project) || @issue.author == current_user
- if @issue.closed
= link_to 'Reopen', project_issue_path(@project, @issue, issue: {closed: false }, status_only: true), method: :put, class: "btn grouped reopen_issue"
Loading
Loading
@@ -16,7 +16,7 @@
%i.icon-edit
Edit
 
.right
.pull-right
.span3#votes= render 'votes/votes_block', votable: @issue
 
.back_link
Loading
Loading
@@ -42,7 +42,7 @@
%cite.cgray and attached to milestone
%strong= link_to_gfm truncate(milestone.title, length: 20), project_milestone_path(milestone.project, milestone)
 
.right
.pull-right
- @issue.labels.each do |label|
%span.label
%i.icon-tag
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
%ul
= prev_page_tag unless current_page.first?
- each_page do |page|
- if page.left_outer? || page.right_outer? || page.inside_window?
- if page.left_outer? || page.pull-right_outer? || page.inside_window?
= page_tag page
- elsif !page.was_truncated?
= gap_tag
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
%nav.gitlab_pagination
= prev_page_tag
- each_page do |page|
- if page.left_outer? || page.right_outer? || page.inside_window?
- if page.left_outer? || page.pull-right_outer? || page.inside_window?
= page_tag page
- elsif !page.was_truncated?
= gap_tag
Loading
Loading
Loading
Loading
@@ -8,5 +8,5 @@
= time_ago_in_words(key.created_at)
ago
%td
= link_to 'Remove', key, confirm: 'Are you sure?', method: :delete, class: "btn btn-small btn-remove delete-key right"
= link_to 'Remove', key, confirm: 'Are you sure?', method: :delete, class: "btn btn-small btn-remove delete-key pull-right"
 
%h3.page_title
SSH Keys
= link_to "Add new", new_key_path, class: "btn right"
= link_to "Add new", new_key_path, class: "btn pull-right"
 
%hr
%p.slead
Loading
Loading
Loading
Loading
@@ -10,5 +10,5 @@
%hr
 
%pre= @key.key
.right
.pull-right
= link_to 'Remove', @key, confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key"
Loading
Loading
@@ -2,7 +2,7 @@
%strong
%i.icon-tag
= label.name
.right
.pull-right
= link_to project_issues_path(label_name: label.name) do
%strong
= pluralize(label.count, 'issue')
Loading
Loading
Loading
Loading
@@ -16,5 +16,5 @@
 
%fieldset
%hr
= link_to "Reset", project_merge_requests_path(@project), class: 'btn right'
= link_to "Reset", project_merge_requests_path(@project), class: 'btn pull-right'
 
%li{ class: mr_css_classes(merge_request) }
.right
.pull-right
.left
- if merge_request.merged?
%span.btn.btn-small.disabled.grouped
Loading
Loading
- if can? current_user, :write_merge_request, @project
= link_to new_project_merge_request_path(@project), class: "right btn btn-primary", title: "New Merge Request" do
= link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do
%i.icon-plus
New Merge Request
%h3.page_title
Loading
Loading
@@ -28,8 +28,8 @@
- if @merge_requests.present?
%li.bottom
.left= paginate @merge_requests, theme: "gitlab"
.right
%span.cgray.right #{@merge_requests.total_count} merge requests for this filter
.pull-right
%span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter
 
:javascript
$(merge_requestsPage);
Loading
Loading
@@ -5,7 +5,7 @@
&rarr;
%span.label_branch= @merge_request.target_branch
 
%span.right
%span.pull-right
- if can?(current_user, :modify_merge_request, @merge_request)
- if @merge_request.open?
.left.btn-group
Loading
Loading
@@ -23,7 +23,7 @@
%i.icon-edit
Edit
 
.right
.pull-right
.span3#votes= render 'votes/votes_block', votable: @merge_request
 
.back_link
Loading
Loading
%li{class: "milestone milestone-#{milestone.closed ? 'closed' : 'open'}", id: dom_id(milestone) }
.right
.pull-right
- if can?(current_user, :admin_milestone, milestone.project) and milestone.open?
= link_to edit_project_milestone_path(milestone.project, milestone), class: "btn btn-small edit-milestone-link grouped" do
%i.icon-edit
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment