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 30 additions and 30 deletions
Loading
Loading
@@ -3,7 +3,7 @@
%h3.page_title
Milestones
- if can? current_user, :admin_milestone, @project
= link_to "New Milestone", new_project_milestone_path(@project), class: "right btn btn-small", title: "New Milestone"
= link_to "New Milestone", new_project_milestone_path(@project), class: "pull-right btn btn-small", title: "New Milestone"
%br
%div.ui-box
.title
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
= link_to project_milestones_path(@project) do
← To milestones list
.span6
.right
.pull-right
- unless @milestone.closed
= link_to new_project_issue_path(@project, issue: { milestone_id: @milestone.id }), class: "btn btn-small grouped", title: "New Issue" do
%i.icon-plus
Loading
Loading
@@ -43,7 +43,7 @@
#{@milestone.closed_items_count} closed
–
#{@milestone.open_items_count} open
%span.right= @milestone.expires_at
%span.pull-right= @milestone.expires_at
.progress.progress-info
.bar{style: "width: #{@milestone.percent_complete}%;"}
 
Loading
Loading
Loading
Loading
@@ -19,7 +19,7 @@
= f.submit 'Add Comment', class: "btn comment-btn grouped js-comment-button"
%a.btn.grouped.js-close-discussion-note-form Cancel
.hint
.right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
.pull-right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
.clearfix
 
.note_options
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@
- if note.attachment.url
- if note.attachment.image?
= image_tag note.attachment.url, class: 'note-image-attach'
.attachment.right
.attachment.pull-right
= link_to note.attachment.url, target: "_blank" do
%i.icon-attachment
= note.attachment_identifier
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@
%fieldset
%legend
Private token
%span.cred.right
%span.cred.pull-right
keep it secret!
.padded
= form_for @user, url: reset_private_token_profile_path, method: :put do |f|
Loading
Loading
@@ -56,7 +56,7 @@
%fieldset.update-username
%legend
Username
%small.cred.right
%small.cred.pull-right
Changing your username can have unintended side effects!
= form_for @user, url: update_username_profile_path, method: :put, remote: true do |f|
.padded
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
%small
= @user.email
 
.right
.pull-right
= link_to destroy_user_session_path, class: "logout", method: :delete do
%small
%i.icon-signout
Loading
Loading
@@ -46,7 +46,7 @@
= f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250
%span.help-block Tell us about yourself in fewer than 250 characters.
 
.span5.right
.span5.pull-right
%fieldset.tips
%legend Tips:
%ul
Loading
Loading
@@ -76,7 +76,7 @@
%fieldset
%legend
Personal projects:
%small.right
%small.pull-right
%span= current_user.personal_projects.count
of
%span= current_user.projects_limit
Loading
Loading
@@ -87,7 +87,7 @@
%fieldset
%legend
SSH public keys:
%span.right
%span.pull-right
= link_to pluralize(current_user.keys.count, 'key'), keys_path
.padded
= link_to "Add Public Key", new_key_path, class: "btn btn-small"
Loading
Loading
Loading
Loading
@@ -2,8 +2,8 @@
.row
.span7
.form-horizontal= render "shared/clone_panel"
.span4.right
.right
.span4.pull-right
.pull-right
- unless @project.empty_repo?
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do
Loading
Loading
Loading
Loading
@@ -81,5 +81,5 @@
= link_to 'Cancel', @project, class: "btn"
- unless @project.new_record?
- if can?(current_user, :remove_project, @project)
.right
.pull-right
= link_to 'Remove Project', @project, confirm: 'Removed project can not be restored! Are you sure?', method: :delete, class: "btn btn-remove"
Loading
Loading
@@ -31,4 +31,4 @@
 
- if can? current_user, :remove_project, @project
.prepend-top-20
= link_to 'Remove project', @project, confirm: 'Are you sure?', method: :delete, class: "btn btn-remove right"
= link_to 'Remove project', @project, confirm: 'Are you sure?', method: :delete, class: "btn btn-remove pull-right"
Loading
Loading
@@ -9,7 +9,7 @@
%h5
%i.icon-share
= project.name_with_namespace
.right
.pull-right
%pre.dark.tiny git clone #{project.http_url_to_repo}
 
 
Loading
Loading
Loading
Loading
@@ -15,6 +15,6 @@
= image_tag gravatar_icon(commit.author_email), class: "", width: 16
= gfm escape_once(truncate(commit.title, length: 40))
%td
%span.right.cgray
%span.pull-right.cgray
= time_ago_in_words(commit.committed_date)
ago
Loading
Loading
@@ -23,7 +23,7 @@
= image_tag gravatar_icon(author.email, 16), class: 'avatar s16'
= author.name
%small.light= author.email
.right
.pull-right
= author.commits
 
 
Loading
Loading
%h3.page_title
GitLab CI
%small Continuous integration server from GitLab
.right
.pull-right
- if @service.active
%small.cgreen Enabled
- else
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
= link_to edit_project_service_path(@project, :gitlab_ci) do
GitLab CI
%small Continuous integration server from GitLab
.right
.pull-right
- if @gitlab_ci_service.try(:active)
%small.cgreen
%i.icon-ok
Loading
Loading
@@ -21,11 +21,11 @@
%h4
Jenkins CI
%small An extendable open source continuous integration server
.right
.pull-right
%small Not implemented yet
%li.disabled
%h4
Campfire
%small Web-based group chat tool
.right
.pull-right
%small Not implemented yet
Loading
Loading
@@ -30,7 +30,7 @@
= f.submit 'Save', class: "btn-save btn"
= link_to "Cancel", project_snippets_path(@project), class: " btn"
- unless @snippet.new_record?
.right= link_to 'Destroy', [@project, @snippet], confirm: 'Are you sure?', method: :delete, class: "btn right danger delete-snippet", id: "destroy_snippet_#{@snippet.id}"
.pull-right= link_to 'Destroy', [@project, @snippet], confirm: 'Are you sure?', method: :delete, class: "btn pull-right danger delete-snippet", id: "destroy_snippet_#{@snippet.id}"
 
 
:javascript
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
%small share code pastes with others out of git repository
 
- if can? current_user, :write_snippet, @project
= link_to new_project_snippet_path(@project), class: "btn btn-small add_new right", title: "New Snippet" do
= link_to new_project_snippet_path(@project), class: "btn btn-small add_new pull-right", title: "New Snippet" do
Add new snippet
%br
%table
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
= @snippet.title
%small= @snippet.file_name
- if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small right"
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right"
 
%br
%div= render 'blob'
Loading
Loading
Loading
Loading
@@ -10,12 +10,12 @@
%br
%small.cgray= user.email
 
.span5.right
.span5.pull-right
- if allow_admin
.left
= form_for(member, as: :team_member, url: project_team_member_path(@project, member.user)) do |f|
= f.select :project_access, options_for_select(UsersProject.access_roles, member.project_access), {}, class: "medium project-access-select span2"
.right
.pull-right
- if current_user == user
%span.btn.disabled This is you!
- if @project.namespace_owner == user
Loading
Loading
Loading
Loading
@@ -7,8 +7,8 @@
%br
%small.cgray Members: #{team.members.count}
 
.span5.right
.right
.span5.pull-right
.pull-right
- if allow_admin
.left
= link_to resign_project_team_path(@project, team), method: :delete, confirm: "Are you shure?", class: "btn btn-remove small" do
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
%strong= link_to "here", help_permissions_path, class: "vlink"
 
- if can? current_user, :admin_team_member, @project
%span.right
%span.pull-right
= link_to import_project_team_members_path(@project), class: "btn btn-small grouped", title: "Import team from another project" do
Import team from another project
= link_to available_project_teams_path(@project), class: "btn btn-small grouped", title: "Assign project to team of users" do
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