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
09775666
Commit
09775666
authored
Oct 13, 2020
by
John Long
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pages project setting form
parent
c730563e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
app/views/projects/pages/_pages_settings.html.haml
app/views/projects/pages/_pages_settings.html.haml
+4
-3
changelogs/unreleased/john_long-update_project_pages_settings.yml
...gs/unreleased/john_long-update_project_pages_settings.yml
+5
-0
No files found.
app/views/projects/pages/_pages_settings.html.haml
View file @
09775666
=
form_for
@project
,
url:
project_pages_path
(
@project
),
html:
{
class:
'inline'
,
title:
pages_https_only_title
}
do
|
f
|
=
render_if_exists
'shared/pages/max_pages_size_input'
,
form:
f
-
if
Gitlab
.
config
.
pages
.
external_http
||
Gitlab
.
config
.
pages
.
external_https
=
render_if_exists
'shared/pages/max_pages_size_input'
,
form:
f
.form-group
.form-check
...
...
@@ -9,5 +10,5 @@
%strong
=
s_
(
'GitLabPages|Force HTTPS (requires valid certificates)'
)
.gl-mt-3
=
f
.
submit
s_
(
'GitLabPages|Save'
),
class:
'btn btn-success'
.gl-mt-3
=
f
.
submit
s_
(
'GitLabPages|Save'
),
class:
'btn btn-success'
changelogs/unreleased/john_long-update_project_pages_settings.yml
0 → 100644
View file @
09775666
---
title
:
Merge branch 'john_long-update_project_pages_settings' into 'master'
merge_request
:
45054
author
:
type
:
fixed
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