Commit bfd00caff3010100f367ed60d73f065cc8b21f06
1 parent
560985b0
Exists in
master
and in
4 other branches
Few usability improvments
Showing
4 changed files
with
7 additions
and
7 deletions
Show diff stats
app/views/projects/_project_head.html.haml
... | ... | @@ -13,19 +13,19 @@ |
13 | 13 | = link_to 'Snippets', project_snippets_path(@project), class: "snippets-tab tab" |
14 | 14 | |
15 | 15 | - if can? current_user, :admin_project, @project |
16 | - = nav_link(controller: :deploy_keys, html_options: {class: 'right'}) do | |
16 | + = nav_link(controller: :deploy_keys, html_options: {class: 'pull-right'}) do | |
17 | 17 | = link_to project_deploy_keys_path(@project) do |
18 | 18 | %span |
19 | 19 | Deploy Keys |
20 | - = nav_link(controller: :hooks, html_options: {class: 'right'}) do | |
20 | + = nav_link(controller: :hooks, html_options: {class: 'pull-right'}) do | |
21 | 21 | = link_to project_hooks_path(@project) do |
22 | 22 | %span |
23 | 23 | Hooks |
24 | - = nav_link(controller: :services, html_options: {class: 'right'}) do | |
24 | + = nav_link(controller: :services, html_options: {class: 'pull-right'}) do | |
25 | 25 | = link_to project_services_path(@project) do |
26 | 26 | %span |
27 | 27 | Services |
28 | - = nav_link(path: 'projects#edit', html_options: {class: 'right'}) do | |
28 | + = nav_link(path: 'projects#edit', html_options: {class: 'pull-right'}) do | |
29 | 29 | = link_to edit_project_path(@project), class: "stat-tab tab " do |
30 | 30 | %i.icon-edit |
31 | 31 | Edit | ... | ... |
app/views/team_members/_form.html.haml
... | ... | @@ -19,5 +19,5 @@ |
19 | 19 | .input= select_tag :project_access, options_for_select(Project.access_options, @user_project_relation.project_access), class: "project-access-select chosen" |
20 | 20 | |
21 | 21 | .actions |
22 | - = f.submit 'Save', class: "btn btn-save" | |
22 | + = f.submit 'Add users', class: "btn btn-create" | |
23 | 23 | = link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel" | ... | ... |
app/views/team_members/_show.html.haml
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | - if current_user == user |
20 | 20 | %span.btn.disabled This is you! |
21 | 21 | - if @project.namespace_owner == user |
22 | - %span.btn.disabled.btn-success Owner | |
22 | + %span.btn.disabled Owner | |
23 | 23 | - elsif user.blocked |
24 | 24 | %span.btn.disabled.blocked Blocked |
25 | 25 | - elsif allow_admin | ... | ... |
features/steps/project/project_team_management.rb
... | ... | @@ -24,7 +24,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps |
24 | 24 | select user.name, :from => "user_ids" |
25 | 25 | select "Reporter", :from => "project_access" |
26 | 26 | end |
27 | - click_button "Save" | |
27 | + click_button "Add users" | |
28 | 28 | end |
29 | 29 | |
30 | 30 | Then 'I should see "Mike" in team list as "Reporter"' do | ... | ... |