Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4963303f
Commit
4963303f
authored
Jun 01, 2018
by
samdbeckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates a load of modal headers to use better markup
parent
72702275
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
32 additions
and
21 deletions
+32
-21
app/views/help/_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+2
-1
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+2
-3
app/views/projects/_bitbucket_import_modal.html.haml
app/views/projects/_bitbucket_import_modal.html.haml
+2
-1
app/views/projects/_gitlab_import_modal.html.haml
app/views/projects/_gitlab_import_modal.html.haml
+2
-1
app/views/projects/_issuable_by_email.html.haml
app/views/projects/_issuable_by_email.html.haml
+2
-2
app/views/projects/blob/_new_dir.html.haml
app/views/projects/blob/_new_dir.html.haml
+2
-1
app/views/projects/blob/_remove.html.haml
app/views/projects/blob/_remove.html.haml
+2
-1
app/views/projects/blob/_upload.html.haml
app/views/projects/blob/_upload.html.haml
+2
-1
app/views/projects/branches/_delete_protected_modal.html.haml
...views/projects/branches/_delete_protected_modal.html.haml
+2
-1
app/views/projects/commit/_change.html.haml
app/views/projects/commit/_change.html.haml
+2
-1
app/views/projects/deploy_tokens/_revoke_modal.html.haml
app/views/projects/deploy_tokens/_revoke_modal.html.haml
+2
-2
app/views/projects/merge_requests/_how_to_merge.html.haml
app/views/projects/merge_requests/_how_to_merge.html.haml
+2
-1
app/views/projects/wikis/_new.html.haml
app/views/projects/wikis/_new.html.haml
+2
-1
app/views/shared/_confirm_modal.html.haml
app/views/shared/_confirm_modal.html.haml
+2
-1
app/views/shared/_delete_label_modal.html.haml
app/views/shared/_delete_label_modal.html.haml
+2
-1
app/views/shared/notifications/_custom_notifications.html.haml
...iews/shared/notifications/_custom_notifications.html.haml
+2
-2
No files found.
app/views/help/_shortcuts.html.haml
View file @
4963303f
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
.modal-dialog.modal-lg
.modal-dialog.modal-lg
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h4
%h4
Keyboard Shortcuts
Keyboard Shortcuts
%small
%small
=
link_to
'(Show all)'
,
'#'
,
class:
'js-more-help-button'
=
link_to
'(Show all)'
,
'#'
,
class:
'js-more-help-button'
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
.row
.row
.col-lg-4
.col-lg-4
...
...
app/views/profiles/show.html.haml
View file @
4963303f
...
@@ -77,11 +77,10 @@
...
@@ -77,11 +77,10 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%button
.close
{
type:
'button'
,
'data-dismiss'
:
'modal'
}
%span
×
%h4
.modal-title
%h4
.modal-title
Position and size your new avatar
Position and size your new avatar
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
.profile-crop-image-container
.profile-crop-image-container
%img
.modal-profile-crop-image
{
alt:
'Avatar cropper'
}
%img
.modal-profile-crop-image
{
alt:
'Avatar cropper'
}
...
...
app/views/projects/_bitbucket_import_modal.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
Import projects from Bitbucket
%h3
Import projects from Bitbucket
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
To enable importing projects from Bitbucket,
To enable importing projects from Bitbucket,
-
if
current_user
.
admin?
-
if
current_user
.
admin?
...
...
app/views/projects/_gitlab_import_modal.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
Import projects from GitLab.com
%h3
Import projects from GitLab.com
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
To enable importing projects from GitLab.com,
To enable importing projects from GitLab.com,
-
if
current_user
.
admin?
-
if
current_user
.
admin?
...
...
app/views/projects/_issuable_by_email.html.haml
View file @
4963303f
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
.modal-dialog
{
role:
"document"
}
.modal-dialog
{
role:
"document"
}
.modal-content
.modal-content
.modal-header
.modal-header
%button
.close
{
type:
"button"
,
data:
{
dismiss:
"modal"
},
aria:
{
label:
"close"
}
}
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
aria:
{
hidden:
"true"
}
}=
icon
(
"times"
)
%span
{
"aria-hidden"
:
true
}
×
%h4
.modal-title
%h4
.modal-title
Create new
#{
name
}
by email
Create new
#{
name
}
by email
.modal-body
.modal-body
...
...
app/views/projects/blob/_new_dir.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog.modal-lg
.modal-dialog.modal-lg
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
=
_
(
'Create New Directory'
)
%h3
.page-title
=
_
(
'Create New Directory'
)
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
=
form_tag
project_create_dir_path
(
@project
,
@id
),
method: :post
,
remote:
false
,
class:
'js-create-dir-form js-quick-submit js-requires-input'
do
=
form_tag
project_create_dir_path
(
@project
,
@id
),
method: :post
,
remote:
false
,
class:
'js-create-dir-form js-quick-submit js-requires-input'
do
.form-group.row
.form-group.row
...
...
app/views/projects/blob/_remove.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
Delete
#{
@blob
.
name
}
%h3
.page-title
Delete
#{
@blob
.
name
}
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
=
form_tag
project_blob_path
(
@project
,
@id
),
method: :delete
,
class:
'js-delete-blob-form js-quick-submit js-requires-input'
do
=
form_tag
project_blob_path
(
@project
,
@id
),
method: :delete
,
class:
'js-delete-blob-form js-quick-submit js-requires-input'
do
...
...
app/views/projects/blob/_upload.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog.modal-lg
.modal-dialog.modal-lg
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
=
title
%h3
.page-title
=
title
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
=
form_tag
form_path
,
method:
method
,
class:
'js-quick-submit js-upload-blob-form'
,
data:
{
method:
method
}
do
=
form_tag
form_path
,
method:
method
,
class:
'js-quick-submit js-upload-blob-form'
,
data:
{
method:
method
}
do
.dropzone
.dropzone
...
...
app/views/projects/branches/_delete_protected_modal.html.haml
View file @
4963303f
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%button
.close
{
data:
{
dismiss:
'modal'
}
}
×
%h3
.page-title
%h3
.page-title
-
title_branch_name
=
capture
do
-
title_branch_name
=
capture
do
%span
.js-branch-name.ref-name
>[branch name]
%span
.js-branch-name.ref-name
>[branch name]
=
s_
(
"Branches|Delete protected branch '%{branch_name}'?"
).
html_safe
%
{
branch_name:
title_branch_name
}
=
s_
(
"Branches|Delete protected branch '%{branch_name}'?"
).
html_safe
%
{
branch_name:
title_branch_name
}
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%p
%p
...
...
app/views/projects/commit/_change.html.haml
View file @
4963303f
...
@@ -15,8 +15,9 @@
...
@@ -15,8 +15,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
=
title
%h3
.page-title
=
title
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
-
if
description
-
if
description
%p
.append-bottom-20
=
description
%p
.append-bottom-20
=
description
...
...
app/views/projects/deploy_tokens/_revoke_modal.html.haml
View file @
4963303f
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
%h4
.modal-title.float-left
%h4
.modal-title.float-left
=
s_
(
'DeployTokens|Revoke'
)
=
s_
(
'DeployTokens|Revoke'
)
%b
#{
token
.
name
}
?
%b
#{
token
.
name
}
?
%button
.close
{
'aria-label'
=>
_
(
'Close'
),
'data-dismiss'
=>
'modal'
,
type:
'button'
}
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
'aria-hidden'
=>
'true'
}
×
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%p
%p
=
s_
(
'DeployTokens|You are about to revoke'
)
=
s_
(
'DeployTokens|You are about to revoke'
)
...
...
app/views/projects/merge_requests/_how_to_merge.html.haml
View file @
4963303f
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
.modal-content
.modal-content
.modal-header
.modal-header
%h3
Check out, review, and merge locally
%h3
Check out, review, and merge locally
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%p
%p
%strong
Step 1.
%strong
Step 1.
...
...
app/views/projects/wikis/_new.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
=
s_
(
"WikiNewPageTitle|New Wiki Page"
)
%h3
.page-title
=
s_
(
"WikiNewPageTitle|New Wiki Page"
)
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%form
.new-wiki-page
%form
.new-wiki-page
.form-group
.form-group
...
...
app/views/shared/_confirm_modal.html.haml
View file @
4963303f
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
.modal-header
.modal-header
%h3
.page-title
%h3
.page-title
Confirmation required
Confirmation required
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%p
.text-danger.js-confirm-text
%p
.text-danger.js-confirm-text
...
...
app/views/shared/_delete_label_modal.html.haml
View file @
4963303f
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%button
.close
{
data:
{
dismiss:
'modal'
}
}
×
%h3
.page-title
Delete
#{
render_colored_label
(
label
,
tooltip:
false
)
}
?
%h3
.page-title
Delete
#{
render_colored_label
(
label
,
tooltip:
false
)
}
?
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
%p
%p
...
...
app/views/shared/notifications/_custom_notifications.html.haml
View file @
4963303f
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
.modal-dialog
.modal-dialog
.modal-content
.modal-content
.modal-header
.modal-header
%button
.close
{
type:
"button"
,
"aria-label"
:
"close"
,
data:
{
dismiss:
"modal"
}
}
%span
{
"aria-hidden"
:
"true"
}
×
%h4
#custom-notifications-title
.modal-title
%h4
#custom-notifications-title
.modal-title
#{
_
(
'Custom notification events'
)
}
#{
_
(
'Custom notification events'
)
}
%button
.close
{
type:
"button"
,
"data-dismiss"
:
"modal"
,
"aria-label"
=>
_
(
'Close'
)
}
%span
{
"aria-hidden"
:
true
}
×
.modal-body
.modal-body
.container-fluid
.container-fluid
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment