Commit 38ff5d1ab9d9eb5d09bbc8498410b770445b698e
1 parent
6dcbe1b4
Exists in
spb-stable
and in
2 other branches
Replace ui-box title with panel-heading
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
30 changed files
with
45 additions
and
45 deletions
Show diff stats
app/views/admin/background_jobs/show.html.haml
app/views/admin/groups/show.html.haml
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | .row |
| 9 | 9 | .col-md-6 |
| 10 | 10 | .panel.panel-default |
| 11 | - .title | |
| 11 | + .panel-heading | |
| 12 | 12 | Group info: |
| 13 | 13 | %ul.well-list |
| 14 | 14 | %li |
| ... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 | = @group.created_at.stamp("March 1, 1999") |
| 31 | 31 | |
| 32 | 32 | .panel.panel-default |
| 33 | - .title | |
| 33 | + .panel-heading | |
| 34 | 34 | Projects |
| 35 | 35 | %small |
| 36 | 36 | (#{@group.projects.count}) |
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | |
| 47 | 47 | .col-md-6 |
| 48 | 48 | .panel.panel-default |
| 49 | - .title | |
| 49 | + .panel-heading | |
| 50 | 50 | Add user(s) to the group: |
| 51 | 51 | .body.form-holder |
| 52 | 52 | %p.light |
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | %hr |
| 62 | 62 | = submit_tag 'Add users into group', class: "btn btn-create" |
| 63 | 63 | .panel.panel-default |
| 64 | - .title | |
| 64 | + .panel-heading | |
| 65 | 65 | %strong #{@group.name} |
| 66 | 66 | Group Members |
| 67 | 67 | %small | ... | ... |
app/views/admin/hooks/index.html.haml
app/views/admin/projects/index.html.haml
app/views/admin/projects/show.html.haml
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | .row |
| 8 | 8 | .col-md-6 |
| 9 | 9 | .panel.panel-default |
| 10 | - .title | |
| 10 | + .panel-heading | |
| 11 | 11 | Project info: |
| 12 | 12 | %ul.well-list |
| 13 | 13 | %li |
| ... | ... | @@ -76,7 +76,7 @@ |
| 76 | 76 | = visibility_level_label(@project.visibility_level) |
| 77 | 77 | |
| 78 | 78 | .panel.panel-default |
| 79 | - .title | |
| 79 | + .panel-heading | |
| 80 | 80 | Transfer project |
| 81 | 81 | .body |
| 82 | 82 | = form_for @project, url: transfer_admin_project_path(@project), method: :put, html: { class: 'form-horizontal' } do |f| |
| ... | ... | @@ -93,7 +93,7 @@ |
| 93 | 93 | .col-md-6 |
| 94 | 94 | - if @group |
| 95 | 95 | .panel.panel-default |
| 96 | - .title | |
| 96 | + .panel-heading | |
| 97 | 97 | %strong #{@group.name} |
| 98 | 98 | group members (#{@group.users_groups.count}) |
| 99 | 99 | .pull-right |
| ... | ... | @@ -104,7 +104,7 @@ |
| 104 | 104 | = render 'users_groups/users_group', member: member, show_controls: false |
| 105 | 105 | |
| 106 | 106 | .panel.panel-default |
| 107 | - .title | |
| 107 | + .panel-heading | |
| 108 | 108 | Project members |
| 109 | 109 | %small |
| 110 | 110 | (#{@project.users.count}) | ... | ... |
app/views/admin/users/index.html.haml
app/views/admin/users/show.html.haml
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | .row |
| 16 | 16 | .col-md-6 |
| 17 | 17 | .panel.panel-default |
| 18 | - .title | |
| 18 | + .panel-heading | |
| 19 | 19 | Account: |
| 20 | 20 | .pull-right |
| 21 | 21 | = image_tag avatar_icon(@user.email, 32), class: "avatar s32" |
| ... | ... | @@ -119,7 +119,7 @@ |
| 119 | 119 | .col-md-6 |
| 120 | 120 | - if @user.users_groups.present? |
| 121 | 121 | .panel.panel-default |
| 122 | - .title Groups: | |
| 122 | + .panel-heading Groups: | |
| 123 | 123 | %ul.well-list |
| 124 | 124 | - @user.users_groups.each do |user_group| |
| 125 | 125 | - group = user_group.group |
| ... | ... | @@ -133,7 +133,7 @@ |
| 133 | 133 | %i.icon-remove.icon-white |
| 134 | 134 | |
| 135 | 135 | .panel.panel-default |
| 136 | - .title Projects (#{@projects.count}) | |
| 136 | + .panel-heading Projects (#{@projects.count}) | |
| 137 | 137 | %ul.well-list |
| 138 | 138 | - @projects.sort_by(&:name_with_namespace).each do |project| |
| 139 | 139 | - tm = project.team.find_tm(@user.id) | ... | ... |
app/views/dashboard/_groups.html.haml
app/views/dashboard/_projects.html.haml
app/views/groups/_projects.html.haml
app/views/groups/edit.html.haml
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | .tab-content |
| 19 | 19 | .tab-pane.active#tab-edit |
| 20 | 20 | .panel.panel-default |
| 21 | - .title | |
| 21 | + .panel-heading | |
| 22 | 22 | %strong= @group.name |
| 23 | 23 | group settings: |
| 24 | 24 | %div.form-holder |
| ... | ... | @@ -62,7 +62,7 @@ |
| 62 | 62 | |
| 63 | 63 | .tab-pane#tab-projects |
| 64 | 64 | .panel.panel-default |
| 65 | - .title | |
| 65 | + .panel-heading | |
| 66 | 66 | %strong= @group.name |
| 67 | 67 | projects: |
| 68 | 68 | - if can? current_user, :manage_group, @group |
| ... | ... | @@ -85,7 +85,7 @@ |
| 85 | 85 | |
| 86 | 86 | .tab-pane#tab-remove |
| 87 | 87 | .panel.panel-default.panel.panel-default-danger |
| 88 | - .title Remove group | |
| 88 | + .panel-heading Remove group | |
| 89 | 89 | .body |
| 90 | 90 | %p |
| 91 | 91 | Removing group will cause all child projects and resources to be removed. | ... | ... |
app/views/groups/members.html.haml
app/views/help/index.html.haml
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | .row |
| 20 | 20 | .col-md-4 |
| 21 | 21 | .panel.panel-default |
| 22 | - .title | |
| 22 | + .panel-heading | |
| 23 | 23 | Quick help |
| 24 | 24 | %ul.well-list |
| 25 | 25 | %li |
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | |
| 36 | 36 | .col-md-8 |
| 37 | 37 | .panel.panel-default.documentation |
| 38 | - .title Documentation | |
| 38 | + .panel-heading Documentation | |
| 39 | 39 | |
| 40 | 40 | = preserve do |
| 41 | 41 | - readme_text = File.read(Rails.root.join("doc", "README.md")) | ... | ... |
app/views/profiles/emails/index.html.haml
app/views/profiles/groups/index.html.haml
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/show.html.haml
app/views/projects/compare/show.html.haml
app/views/projects/edit.html.haml
| ... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 | .js-toggle-content.hide |
| 108 | 108 | - if can? current_user, :archive_project, @project |
| 109 | 109 | .panel.panel-default.panel.panel-default-danger |
| 110 | - .title | |
| 110 | + .panel-heading | |
| 111 | 111 | - if @project.archived? |
| 112 | 112 | Unarchive project |
| 113 | 113 | - else |
| ... | ... | @@ -138,7 +138,7 @@ |
| 138 | 138 | |
| 139 | 139 | - if can?(current_user, :change_namespace, @project) |
| 140 | 140 | .panel.panel-default.panel.panel-default-danger |
| 141 | - .title Transfer project | |
| 141 | + .panel-heading Transfer project | |
| 142 | 142 | .errors-holder |
| 143 | 143 | .form-holder |
| 144 | 144 | = form_for(@project, url: transfer_project_path(@project), method: :put, remote: true, html: { class: 'transfer-project form-horizontal' }) do |f| |
| ... | ... | @@ -158,7 +158,7 @@ |
| 158 | 158 | .nothing-here-block Only the project owner can transfer a project |
| 159 | 159 | |
| 160 | 160 | .panel.panel-default.panel.panel-default-danger |
| 161 | - .title Rename repository | |
| 161 | + .panel-heading Rename repository | |
| 162 | 162 | .errors-holder |
| 163 | 163 | .form-holder |
| 164 | 164 | = form_for(@project, html: { class: 'form-horizontal' }) do |f| |
| ... | ... | @@ -178,7 +178,7 @@ |
| 178 | 178 | |
| 179 | 179 | - if can?(current_user, :remove_project, @project) |
| 180 | 180 | .panel.panel-default.panel.panel-default-danger |
| 181 | - .title Remove project | |
| 181 | + .panel-heading Remove project | |
| 182 | 182 | .body |
| 183 | 183 | %p |
| 184 | 184 | Removing the project will delete its repository and all related resources including issues, merge requests etc. | ... | ... |
app/views/projects/hooks/index.html.haml
app/views/projects/merge_requests/_new_submit.html.haml
app/views/projects/merge_requests/show/_commits.html.haml
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/show.html.haml
| ... | ... | @@ -85,13 +85,13 @@ |
| 85 | 85 | .row |
| 86 | 86 | .col-md-6 |
| 87 | 87 | .panel.panel-default |
| 88 | - .title Open | |
| 88 | + .panel-heading Open | |
| 89 | 89 | %ul.well-list |
| 90 | 90 | - @merge_requests.opened.each do |merge_request| |
| 91 | 91 | = render 'merge_request', merge_request: merge_request |
| 92 | 92 | .col-md-6 |
| 93 | 93 | .panel.panel-default |
| 94 | - .title Closed | |
| 94 | + .panel-heading Closed | |
| 95 | 95 | %ul.well-list |
| 96 | 96 | - @merge_requests.closed.each do |merge_request| |
| 97 | 97 | = render 'merge_request', merge_request: merge_request | ... | ... |
app/views/projects/team_members/_group_members.html.haml
app/views/projects/team_members/_team.html.haml
app/views/shared/_issues.html.haml
app/views/shared/_merge_requests.html.haml
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | - @merge_requests.group_by(&:target_project).each do |group| |
| 3 | 3 | .panel.panel-default.panel.panel-default-small |
| 4 | 4 | - project = group[0] |
| 5 | - .title | |
| 5 | + .panel-heading | |
| 6 | 6 | = link_to_project project |
| 7 | 7 | = link_to 'show all', project_merge_requests_path(project), class: 'pull-right' |
| 8 | 8 | %ul.well-list.mr-list | ... | ... |
app/views/users/_profile.html.haml