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
28588add
Commit
28588add
authored
Aug 30, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update views for testability
parent
9bff69b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/admin/application_settings/_email.html.haml
app/views/admin/application_settings/_email.html.haml
+1
-1
app/views/admin/application_settings/preferences.html.haml
app/views/admin/application_settings/preferences.html.haml
+1
-1
app/views/layouts/nav/sidebar/_admin.html.haml
app/views/layouts/nav/sidebar/_admin.html.haml
+1
-1
No files found.
app/views/admin/application_settings/_email.html.haml
View file @
28588add
...
@@ -25,4 +25,4 @@
...
@@ -25,4 +25,4 @@
=
render_if_exists
'admin/application_settings/email_additional_text_setting'
,
form:
f
=
render_if_exists
'admin/application_settings/email_additional_text_setting'
,
form:
f
=
f
.
submit
_
(
'Save changes'
),
class:
"btn btn-success"
=
f
.
submit
_
(
'Save changes'
),
class:
"btn btn-success"
,
data:
{
qa_selector:
'save_changes_button'
}
app/views/admin/application_settings/preferences.html.haml
View file @
28588add
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
page_title
_
(
"Preferences"
)
-
page_title
_
(
"Preferences"
)
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
%section
.settings.as-email.no-animate
#js-email-settings
{
class:
(
'expanded'
if
expanded_by_default?
)
}
%section
.settings.as-email.no-animate
#js-email-settings
{
class:
(
'expanded'
if
expanded_by_default?
)
,
data:
{
qa_selector:
'email_section'
}
}
.settings-header
.settings-header
%h4
%h4
=
_
(
'Email'
)
=
_
(
'Email'
)
...
...
app/views/layouts/nav/sidebar/_admin.html.haml
View file @
28588add
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
%span
%span
=
_
(
'Geo'
)
=
_
(
'Geo'
)
=
nav_link
(
path:
'application_settings#preferences'
)
do
=
nav_link
(
path:
'application_settings#preferences'
)
do
=
link_to
preferences_admin_application_settings_path
,
title:
_
(
'Preferences'
)
do
=
link_to
preferences_admin_application_settings_path
,
title:
_
(
'Preferences'
)
,
data:
{
qa_selector:
'admin_settings_preferences_link'
}
do
%span
%span
=
_
(
'Preferences'
)
=
_
(
'Preferences'
)
...
...
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