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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2579dcf5
Commit
2579dcf5
authored
Jun 22, 2017
by
Mike Greiling
Committed by
Annabel Dunstone Gray
Jun 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Rename settings panel "close" action to "collapse" to avoid confusion"
parent
11716f31
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/settings_panels.js
app/assets/javascripts/settings_panels.js
+1
-1
app/views/projects/deploy_keys/_index.html.haml
app/views/projects/deploy_keys/_index.html.haml
+1
-1
app/views/projects/protected_branches/_index.html.haml
app/views/projects/protected_branches/_index.html.haml
+1
-1
app/views/projects/protected_tags/_index.html.haml
app/views/projects/protected_tags/_index.html.haml
+1
-1
No files found.
app/assets/javascripts/settings_panels.js
View file @
2579dcf5
...
...
@@ -4,7 +4,7 @@ function expandSectionParent($section, $content) {
}
function
expandSection
(
$section
)
{
$section
.
find
(
'
.js-settings-toggle
'
).
text
(
'
C
lo
se
'
);
$section
.
find
(
'
.js-settings-toggle
'
).
text
(
'
C
ollap
se
'
);
const
$content
=
$section
.
find
(
'
.settings-content
'
);
$content
.
addClass
(
'
expanded
'
).
off
(
'
scroll.expandSection
'
).
scrollTop
(
0
);
...
...
app/views/projects/deploy_keys/_index.html.haml
View file @
2579dcf5
...
...
@@ -4,7 +4,7 @@
%h4
Deploy Keys
%button
.btn.js-settings-toggle
=
expanded
?
'C
lo
se'
:
'Expand'
=
expanded
?
'C
ollap
se'
:
'Expand'
%p
Deploy keys allow read-only or read-write (if enabled) access to your repository. Deploy keys can be used for CI, staging or production servers. You can create a deploy key or add an existing one.
.settings-content.no-animate
{
class:
(
'expanded'
if
expanded
)
}
...
...
app/views/projects/protected_branches/_index.html.haml
View file @
2579dcf5
...
...
@@ -7,7 +7,7 @@
%h4
Protected Branches
%button
.btn.js-settings-toggle
=
expanded
?
'C
lo
se'
:
'Expand'
=
expanded
?
'C
ollap
se'
:
'Expand'
%p
Keep stable branches secure and force developers to use merge requests.
.settings-content.no-animate
{
class:
(
'expanded'
if
expanded
)
}
...
...
app/views/projects/protected_tags/_index.html.haml
View file @
2579dcf5
...
...
@@ -7,7 +7,7 @@
%h4
Protected Tags
%button
.btn.js-settings-toggle
=
expanded
?
'C
lo
se'
:
'Expand'
=
expanded
?
'C
ollap
se'
:
'Expand'
%p
Limit access to creating and updating tags.
.settings-content.no-animate
{
class:
(
'expanded'
if
expanded
)
}
...
...
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