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
Jérome Perrin
gitlab-ce
Commits
a9e0218c
Commit
a9e0218c
authored
May 12, 2017
by
tauriedavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
32118 Make New environment empty state btn lowercase
parent
1e8dbd46
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
app/assets/javascripts/environments/components/environment.vue
...ssets/javascripts/environments/components/environment.vue
+1
-1
changelogs/unreleased/32118-new-environment-btn-copy.yml
changelogs/unreleased/32118-new-environment-btn-copy.yml
+4
-0
spec/features/projects/environments/environments_spec.rb
spec/features/projects/environments/environments_spec.rb
+3
-1
spec/javascripts/environments/environment_spec.js
spec/javascripts/environments/environment_spec.js
+1
-1
No files found.
app/assets/javascripts/environments/components/environment.vue
View file @
a9e0218c
...
...
@@ -255,7 +255,7 @@ export default {
v-if=
"canCreateEnvironmentParsed"
:href=
"newEnvironmentPath"
class=
"btn btn-create js-new-environment-button"
>
New
E
nvironment
New
e
nvironment
</a>
</div>
...
...
changelogs/unreleased/32118-new-environment-btn-copy.yml
0 → 100644
View file @
a9e0218c
---
title
:
Make New environment empty state btn lowercase
merge_request
:
author
:
spec/features/projects/environments/environments_spec.rb
View file @
a9e0218c
...
...
@@ -239,8 +239,10 @@ feature 'Environments page', :feature, :js do
context
'when logged as developer'
do
before
do
within
(
".top-area"
)
do
click_link
'New environment'
end
end
context
'for valid name'
do
before
do
...
...
spec/javascripts/environments/environment_spec.js
View file @
a9e0218c
...
...
@@ -41,7 +41,7 @@ describe('Environment', () => {
setTimeout
(()
=>
{
expect
(
component
.
$el
.
querySelector
(
'
.js-new-environment-button
'
).
textContent
,
).
toContain
(
'
New
E
nvironment
'
);
).
toContain
(
'
New
e
nvironment
'
);
expect
(
component
.
$el
.
querySelector
(
'
.js-blank-state-title
'
).
textContent
,
...
...
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