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
5db40a5b
Commit
5db40a5b
authored
Mar 28, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
e3b1ff6f
a74c3e6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
+24
-10
app/assets/javascripts/environments/components/environment_item.vue
.../javascripts/environments/components/environment_item.vue
+19
-10
changelogs/unreleased/24936-remove-type-from-review-app-name.yml
...ogs/unreleased/24936-remove-type-from-review-app-name.yml
+5
-0
No files found.
app/assets/javascripts/environments/components/environment_item.vue
View file @
5db40a5b
...
...
@@ -459,12 +459,7 @@ export default {
class="gl-responsive-table-row"
role="row"
>
<div
v-gl-tooltip
:title=
"model.name"
class=
"table-section section-wrap section-15 text-truncate"
role=
"gridcell"
>
<div
class=
"table-section section-wrap section-15 text-truncate"
role=
"gridcell"
>
<div
v-if=
"!model.isFolder"
class=
"table-mobile-header"
role=
"rowheader"
>
{{
s__
(
'
Environments|Environment
'
)
}}
</div>
...
...
@@ -473,14 +468,28 @@ export default {
<icon
:name=
"deployIconName"
/>
</span>
<span
v-if=
"!model.isFolder"
class=
"environment-name table-mobile-content"
>
<a
class=
"qa-environment-link"
:href=
"environmentPath"
>
{{
model
.
name
}}
</a>
<span
v-if=
"!model.isFolder"
v-gl-tooltip
:title=
"model.name"
class=
"environment-name table-mobile-content"
>
<a
class=
"qa-environment-link"
:href=
"environmentPath"
>
<span
v-if=
"model.size === 1"
>
{{
model
.
name
}}
</span>
<span
v-else
>
{{
model
.
name_without_type
}}
</span>
</a>
<span
v-if=
"isProtected"
class=
"badge badge-success"
>
{{
s__
(
'
Environments|protected
'
)
}}
</span>
</span>
<span
v-else
class=
"folder-name"
role=
"button"
@
click=
"onClickFolder"
>
<span
v-else
v-gl-tooltip
:title=
"model.folderName"
class=
"folder-name"
role=
"button"
@
click=
"onClickFolder"
>
<icon
:name=
"folderIconName"
class=
"folder-icon"
/>
<icon
name=
"folder"
class=
"folder-icon"
/>
...
...
changelogs/unreleased/24936-remove-type-from-review-app-name.yml
0 → 100644
View file @
5db40a5b
---
title
:
Remove unnecessary folder prefix from environment name
merge_request
:
25600
author
:
type
:
changed
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