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 22 additions and 22 deletions
Loading
Loading
@@ -2,7 +2,7 @@
 
.team_member_show
- if can? current_user, :admin_project, @project
= link_to 'Remove from team', project_team_member_path(@project, @member), confirm: 'Are you sure?', method: :delete, class: "right btn btn-remove"
= link_to 'Remove from team', project_team_member_path(@project, @member), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove pull-right"
.profile_avatar_holder
= image_tag gravatar_icon(@member.email, 60), class: "borders"
%h3.page_title
Loading
Loading
Loading
Loading
@@ -25,9 +25,9 @@
%li{class: ("active" if params[:project_id] == project.id.to_s)}
= link_to team_filter_path(entity, project_id: project.id) do
= project.name_with_namespace
%small.right= entities_per_project(project, entity)
%small.pull-right= entities_per_project(project, entity)
 
%fieldset
%hr
= link_to "Reset", team_filter_path(entity), class: 'btn right'
= link_to "Reset", team_filter_path(entity), class: 'btn pull-right'
 
Loading
Loading
@@ -4,7 +4,7 @@
%small
(#{projects.count})
- if can? current_user, :manage_user_team, @team
%span.right
%span.pull-right
= link_to new_team_project_path(@team), class: "btn btn-tiny info" do
%i.icon-plus
Assign Project
Loading
Loading
%h3.page_title
Issues
%small (in Team projects assigned to Team members)
%small.right #{@issues.total_count} issues
%small.pull-right #{@issues.total_count} issues
 
%hr
.row
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
%br
%small.cgray= user.email
 
.span6.right
.span6.pull-right
- if allow_admin
.left.span2
= form_for(member, as: :team_member, url: team_member_path(@team, user)) do |f|
Loading
Loading
@@ -19,7 +19,7 @@
%span
= check_box_tag :group_admin, true, @team.admin?(user)
Admin access
.right
.pull-right
- if current_user == user
%span.btn.disabled This is you!
- if @team.owner == user
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
%strong= link_to "here", help_permissions_path, class: "vlink"
 
- if can? current_user, :manage_user_team, @team
%span.right
%span.pull-right
= link_to new_team_member_path(@team), class: "btn btn-primary small grouped", title: "New Team Member" do
New Team Member
%hr
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@
 
.team_member_show
- if can? current_user, :admin_project, @project
= link_to 'Remove from team', project_team_member_path(project_id: @project, id: @team_member.id), confirm: 'Are you sure?', method: :delete, class: "right btn btn-remove"
= link_to 'Remove from team', project_team_member_path(project_id: @project, id: @team_member.id), confirm: 'Are you sure?', method: :delete, class: "pull-right btn btn-remove"
.profile_avatar_holder
= image_tag gravatar_icon(user.email, 60), class: "borders"
%h3.page_title
Loading
Loading
%h3.page_title
Merge Requests
%small (authored by or assigned to Team members)
%small.right #{@merge_requests.total_count} merge requests
%small.pull-right #{@merge_requests.total_count} merge requests
 
%hr
.row
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
%strong= link_to "here", help_permissions_path, class: "vlink"
 
- if current_user.can?(:manage_user_team, @team) && @avaliable_projects.any?
%span.right
%span.pull-right
= link_to new_team_project_path(@team), class: "btn btn-primary small grouped", title: "New Team Member" do
Assign project to Team
 
Loading
Loading
Loading
Loading
@@ -3,5 +3,5 @@
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: @path}
= nav_link(controller: :tree) do
= link_to 'Source', project_tree_path(@project, @ref)
%li.right
%li.pull-right
= render "shared/clone_panel"
Loading
Loading
@@ -24,7 +24,7 @@
%th Name
%th Last Update
%th Last Commit
%th= link_to "history", project_commits_path(@project, @id), class: "btn btn-tiny right"
%th= link_to "history", project_commits_path(@project, @id), class: "btn btn-tiny pull-right"
 
- if tree.up_dir?
%tr.tree-item
Loading
Loading
Loading
Loading
@@ -4,20 +4,20 @@
%ul.well-list
%li
%strong Email
%span.right= mail_to @user.email
%span.pull-right= mail_to @user.email
- unless @user.skype.blank?
%li
%strong Skype
%span.right= @user.skype
%span.pull-right= @user.skype
- unless @user.linkedin.blank?
%li
%strong LinkedIn
%span.right= @user.linkedin
%span.pull-right= @user.linkedin
- unless @user.twitter.blank?
%li
%strong Twitter
%span.right= @user.twitter
%span.pull-right= @user.twitter
- unless @user.bio.blank?
%li
%strong Bio
%span.right= @user.bio
%span.pull-right= @user.bio
Loading
Loading
@@ -9,7 +9,7 @@
\/
%strong.well-title
= truncate(project.name, length: 45)
%span.right.light
%span.pull-right.light
- if project.owner == @user
%i.icon-wrench
- tm = project.team.get_tm(@user.id)
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
= image_tag gravatar_icon(@user.email, 90), class: "avatar s90"
= @user.name
- if @user == current_user
.right
.pull-right
= link_to profile_path, class: 'btn btn-small' do
%i.icon-edit
Edit Profile
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
%hr
= render 'form'
 
.right
.pull-right
- if can? current_user, :admin_wiki, @project
= link_to project_wiki_path(@project, @wiki), confirm: "Are you sure you want to delete this page?", method: :delete, class: "btn btn-small btn-remove" do
Delete this page
\ No newline at end of file
%h3.page_title
= @wiki.title
%span.right
%span.pull-right
= link_to pages_project_wikis_path(@project), class: "btn btn-small grouped" do
Pages
- if can? current_user, :write_wiki, @project
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