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
c1318de6
Commit
c1318de6
authored
Apr 08, 2022
by
Daniel Tian
Committed by
Illya Klymov
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pajamas checkbox for appearance header and footer form
Changelog: changed MR:
parent
93c9d34b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
app/views/admin/application_settings/appearances/_form.html.haml
...ws/admin/application_settings/appearances/_form.html.haml
+1
-1
app/views/admin/application_settings/appearances/_system_header_footer_form.html.haml
...settings/appearances/_system_header_footer_form.html.haml
+4
-7
No files found.
app/views/admin/application_settings/appearances/_form.html.haml
View file @
c1318de6
-
parsed_with_gfm
=
(
_
(
"Content parsed with %{link}."
)
%
{
link:
link_to
(
'GitLab Flavored Markdown'
,
help_page_path
(
'user/markdown'
),
target:
'_blank'
)
}).
html_safe
=
form_for
@appearance
,
url:
admin_application_settings_appearances_path
,
html:
{
class:
'gl-mt-3'
}
do
|
f
|
=
gitlab_ui_
form_for
@appearance
,
url:
admin_application_settings_appearances_path
,
html:
{
class:
'gl-mt-3'
}
do
|
f
|
=
form_errors
(
@appearance
)
...
...
app/views/admin/application_settings/appearances/_system_header_footer_form.html.haml
View file @
c1318de6
...
...
@@ -14,13 +14,10 @@
=
form
.
label
:footer_message
,
_
(
'Footer message'
),
class:
'col-form-label label-bold'
=
form
.
text_area
:footer_message
,
placeholder:
_
(
'State your message to activate'
),
class:
"form-control gl-form-input js-autosize"
.form-group
.form-check
=
form
.
check_box
:email_header_and_footer_enabled
,
class:
'form-check-input'
=
form
.
label
:email_header_and_footer_enabled
,
class:
'label-bold'
do
=
_
(
'Enable header and footer in emails'
)
.form-text.text-muted
=
_
(
'Add header and footer to emails. Please note that color settings will only be applied within the application interface'
)
=
form
.
gitlab_ui_checkbox_component
:email_header_and_footer_enabled
,
_
(
'Enable header and footer in emails'
),
help_text:
_
(
'Add header and footer to emails. Please note that color settings will only be applied within the application interface'
),
label_options:
{
class:
'gl-font-weight-bold!'
}
.form-group.js-toggle-colors-container
%button
.btn.gl-button.btn-link.js-toggle-colors-link
{
type:
'button'
}
...
...
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