BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6d357cce
Unverified
Commit
6d357cce
authored
May 28, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use render_if_exists for group settings page to keep same code as EE
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
fcdf3931
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
_general.html.haml
app/views/groups/settings/_general.html.haml
+2
-0
_permissions.html.haml
app/views/groups/settings/_permissions.html.haml
+2
-0
No files found.
app/views/groups/settings/_general.html.haml
View file @
6d357cce
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
%span
.light
(optional)
%span
.light
(optional)
=
f
.
text_area
:description
,
class:
'form-control'
,
rows:
3
,
maxlength:
250
=
f
.
text_area
:description
,
class:
'form-control'
,
rows:
3
,
maxlength:
250
=
render_if_exists
'shared/repository_size_limit_setting'
,
form:
f
,
type: :group
.form-group.row
.form-group.row
.col-sm-12
.col-sm-12
.avatar-container.s160
.avatar-container.s160
...
...
app/views/groups/settings/_permissions.html.haml
View file @
6d357cce
...
@@ -23,4 +23,6 @@
...
@@ -23,4 +23,6 @@
=
render
'group_admin_settings'
,
f:
f
=
render
'group_admin_settings'
,
f:
f
=
render_if_exists
'member_lock_setting'
,
f:
f
,
group:
@group
=
f
.
submit
'Save group'
,
class:
'btn btn-success'
=
f
.
submit
'Save group'
,
class:
'btn btn-success'
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