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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
dca61d1d
Commit
dca61d1d
authored
Sep 25, 2018
by
Winnie Hellmann
Committed by
Kamil Trzciński
Oct 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Truncate feature flag name in delete modal header
parent
ec0d860c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
app/views/projects/feature_flags/_delete_feature_flag_modal.html.haml
...ojects/feature_flags/_delete_feature_flag_modal.html.haml
+7
-5
No files found.
app/views/projects/feature_flags/_delete_feature_flag_modal.html.haml
View file @
dca61d1d
-
feature_flag_name
=
capture
do
%span
.text-monospace
=
feature_flag
.
name
.modal
{
id:
"delete-feature-flag-modal-#{feature_flag.id}"
,
.modal
{
id:
"delete-feature-flag-modal-#{feature_flag.id}"
,
tabindex:
-
1
,
tabindex:
-
1
,
role:
'dialog'
}
role:
'dialog'
}
.modal-dialog
{
role:
'document'
}
.modal-dialog
{
role:
'document'
}
.modal-content
.modal-content
.modal-header
.modal-header
%h5
.modal-title
%h5
.modal-title.d-flex.mw-100
=
s_
(
'FeatureFlags|Delete %{feature_flag_name}?'
).
html_safe
%
{
feature_flag_name:
feature_flag_name
}
-
truncated_feature_flag_name
=
capture
do
%span
.text-truncate.prepend-left-4.append-right-4
=
feature_flag
.
name
=
s_
(
'FeatureFlags|Delete %{feature_flag_name}?'
).
html_safe
%
{
feature_flag_name:
truncated_feature_flag_name
}
%button
.close
{
type:
'button'
,
data:
{
dismiss:
'modal'
},
aria:
{
label:
_
(
'Close'
)
}
}
%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_
(
'FeatureFlags|Feature flag %{feature_flag_name} will be removed. Are you sure?'
).
html_safe
%
{
feature_flag_name:
feature_flag_name
}
-
monospace_feature_flag_name
=
capture
do
%span
.text-monospace
=
feature_flag
.
name
=
s_
(
'FeatureFlags|Feature flag %{feature_flag_name} will be removed. Are you sure?'
).
html_safe
%
{
feature_flag_name:
monospace_feature_flag_name
}
.modal-footer
.modal-footer
%button
{
type:
'button'
,
data:
{
dismiss:
'modal'
},
class:
'btn btn-default'
}
Cancel
%button
{
type:
'button'
,
data:
{
dismiss:
'modal'
},
class:
'btn btn-default'
}
Cancel
...
...
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