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
b1e5e179
Commit
b1e5e179
authored
Apr 04, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HAML in admin/broadcast_messages/_form.html.haml
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
66e5e658
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/admin/broadcast_messages/_form.html.haml
app/views/admin/broadcast_messages/_form.html.haml
+2
-2
No files found.
app/views/admin/broadcast_messages/_form.html.haml
View file @
b1e5e179
.broadcast-message.broadcast-banner-message.gl-alert-warning.js-broadcast-banner-message-preview.gl-mt-3
{
style:
broadcast_message_style
(
@broadcast_message
),
class:
(
'gl-display-none'
unless
@broadcast_message
.
banner?
)
}
.broadcast-message.broadcast-banner-message.gl-alert-warning.js-broadcast-banner-message-preview.gl-mt-3
{
style:
broadcast_message_style
(
@broadcast_message
),
class:
(
'gl-display-none'
unless
@broadcast_message
.
banner?
)
}
=
sprite_icon
(
'bullhorn'
,
css_class
:'vertical-align-text-top'
)
=
sprite_icon
(
'bullhorn'
,
css_class:
'vertical-align-text-top'
)
.js-broadcast-message-preview
.js-broadcast-message-preview
-
if
@broadcast_message
.
message
.
present?
-
if
@broadcast_message
.
message
.
present?
=
render_broadcast_message
(
@broadcast_message
)
=
render_broadcast_message
(
@broadcast_message
)
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
Your message here
Your message here
.d-flex.justify-content-center
.d-flex.justify-content-center
.broadcast-message.broadcast-notification-message.preview.js-broadcast-notification-message-preview.mt-2
{
class:
(
'hidden'
unless
@broadcast_message
.
notification?
)
}
.broadcast-message.broadcast-notification-message.preview.js-broadcast-notification-message-preview.mt-2
{
class:
(
'hidden'
unless
@broadcast_message
.
notification?
)
}
=
sprite_icon
(
'bullhorn'
,
css_class
:'vertical-align-text-top'
)
=
sprite_icon
(
'bullhorn'
,
css_class:
'vertical-align-text-top'
)
.js-broadcast-message-preview
.js-broadcast-message-preview
-
if
@broadcast_message
.
message
.
present?
-
if
@broadcast_message
.
message
.
present?
=
render_broadcast_message
(
@broadcast_message
)
=
render_broadcast_message
(
@broadcast_message
)
...
...
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