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
aaaa252e
Commit
aaaa252e
authored
Jul 03, 2017
by
tauriedavis
Committed by
Phil Hughes
Jul 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
34060 Simply general project settings to use expanded panels
parent
48c51e20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
9 deletions
+17
-9
dispatcher.js
app/assets/javascripts/dispatcher.js
+2
-0
projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-1
settings.scss
app/assets/stylesheets/pages/settings.scss
+13
-2
_merge_request_settings.html.haml
app/views/projects/_merge_request_settings.html.haml
+2
-6
edit.html.haml
app/views/projects/edit.html.haml
+0
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
aaaa252e
...
...
@@ -329,6 +329,8 @@ import GpgBadges from './gpg_badges';
break
;
case
'projects:edit'
:
setupProjectEdit
();
// Initialize expandable settings panels
initSettingsPanels
();
break
;
case
'projects:pipelines:builds'
:
case
'projects:pipelines:failures'
:
...
...
app/assets/stylesheets/pages/projects.scss
View file @
aaaa252e
...
...
@@ -36,7 +36,6 @@
}
select
{
background
:
transparent
;
transition
:
background
2s
ease-out
;
&
.highlight-changes
{
...
...
app/assets/stylesheets/pages/settings.scss
View file @
aaaa252e
...
...
@@ -54,8 +54,7 @@
.settings-content
{
max-height
:
1px
;
overflow-y
:
scroll
;
margin-right
:
-20px
;
padding-right
:
130px
;
padding-right
:
110px
;
animation
:
collapseMaxHeight
300ms
ease-out
;
&
.expanded
{
...
...
@@ -87,6 +86,18 @@
overflow
:
hidden
;
margin-top
:
20px
;
}
.sub-section
{
margin-bottom
:
32px
;
padding
:
16px
;
border
:
1px
solid
$border-color
;
background-color
:
$gray-light
;
}
.bs-callout
,
.checkbox
:first-child
{
margin-top
:
0
;
}
}
.settings-list-icon
{
...
...
app/views/projects/_merge_request_settings.html.haml
View file @
aaaa252e
-
form
=
local_assigns
.
fetch
(
:form
)
%fieldset
.features.merge-requests-feature.append-bottom-default
%hr
%h5
.prepend-top-0
Merge Requests
=
render
'projects/merge_request_merge_settings'
,
form:
form
=
render
'projects/merge_request_merge_settings'
,
form:
form
\ No newline at end of file
app/views/projects/edit.html.haml
View file @
aaaa252e
This diff is collapsed.
Click to expand it.
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