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
26dd4b3b
Commit
26dd4b3b
authored
Jun 27, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds an ID to the settings section to allow anchor linking
parent
cd296368
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
9 deletions
+14
-9
app/views/projects/_export.html.haml
app/views/projects/_export.html.haml
+1
-1
app/views/projects/deploy_tokens/_index.html.haml
app/views/projects/deploy_tokens/_index.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+4
-4
app/views/projects/mirrors/_push.html.haml
app/views/projects/mirrors/_push.html.haml
+1
-1
app/views/projects/protected_tags/shared/_index.html.haml
app/views/projects/protected_tags/shared/_index.html.haml
+1
-1
app/views/projects/settings/ci_cd/show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+1
-1
changelogs/unreleased/37561-add-id-settings.yml
changelogs/unreleased/37561-add-id-settings.yml
+5
-0
No files found.
app/views/projects/_export.html.haml
View file @
26dd4b3b
...
...
@@ -3,7 +3,7 @@
-
project
=
local_assigns
.
fetch
(
:project
)
-
expanded
=
Rails
.
env
.
test?
%section
.settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.no-animate
#js-export-project
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Export project
...
...
app/views/projects/deploy_tokens/_index.html.haml
View file @
26dd4b3b
-
expanded
=
expand_deploy_tokens_section?
(
@new_deploy_token
)
%section
.settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.no-animate
#js-deploy-tokens
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
=
s_
(
'DeployTokens|Deploy Tokens'
)
%button
.btn.js-settings-toggle.qa-expand-deploy-keys
{
type:
'button'
}
...
...
app/views/projects/edit.html.haml
View file @
26dd4b3b
...
...
@@ -4,7 +4,7 @@
-
expanded
=
Rails
.
env
.
test?
.project-edit-container
%section
.settings.general-settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.general-settings.no-animate
#js-general-project-settings
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
General project
...
...
@@ -65,7 +65,7 @@
=
link_to
_
(
'Remove avatar'
),
project_avatar_path
(
@project
),
data:
{
confirm:
_
(
"Avatar will be removed. Are you sure?"
)
},
method: :delete
,
class:
"btn btn-danger btn-inverted"
=
f
.
submit
'Save changes'
,
class:
"btn btn-success js-btn-save-general-project-settings"
%section
.settings.sharing-permissions.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.sharing-permissions.no-animate
#js-shared-permissions
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Permissions
...
...
@@ -82,7 +82,7 @@
=
render_if_exists
'projects/issues_settings'
%section
.qa-merge-request-settings.settings.merge-requests-feature.no-animate
{
class:
[(
'expanded'
if
expanded
),
(
'hidden'
if
@project
.
project_feature
.
send
(
:merge_requests_access_level
)
==
0
)]
}
%section
.qa-merge-request-settings.settings.merge-requests-feature.no-animate
#js-merge-request-settings
{
class:
[(
'expanded'
if
expanded
),
(
'hidden'
if
@project
.
project_feature
.
send
(
:merge_requests_access_level
)
==
0
)]
}
.settings-header
%h4
Merge request
...
...
@@ -101,7 +101,7 @@
=
render
'export'
,
project:
@project
%section
.qa-advanced-settings.settings.advanced-settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.qa-advanced-settings.settings.advanced-settings.no-animate
#js-project-advanced-settings
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Advanced
...
...
app/views/projects/mirrors/_push.html.haml
View file @
26dd4b3b
-
expanded
=
Rails
.
env
.
test?
%section
.settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.no-animate
#js-push-remote-settings
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Push to a remote repository
...
...
app/views/projects/protected_tags/shared/_index.html.haml
View file @
26dd4b3b
-
expanded
=
Rails
.
env
.
test?
%section
.settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.no-animate
#js-protected-tags-settings
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Protected Tags
...
...
app/views/projects/settings/ci_cd/show.html.haml
View file @
26dd4b3b
...
...
@@ -51,7 +51,7 @@
.settings-content
=
render
'ci/variables/index'
,
save_endpoint:
project_variables_path
(
@project
)
%section
.settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.no-animate
#js-pipeline-triggers
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
Pipeline triggers
...
...
changelogs/unreleased/37561-add-id-settings.yml
0 → 100644
View file @
26dd4b3b
---
title
:
Allows settings sections to expand by default when linking to them
merge_request
:
20211
author
:
type
:
other
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