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
ef67147a
Commit
ef67147a
authored
Jul 20, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace icons in EnvironmentItem vue component
parent
12e5ba1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
app/assets/javascripts/environments/components/environment_item.vue
.../javascripts/environments/components/environment_item.vue
+19
-20
app/assets/stylesheets/pages/environments.scss
app/assets/stylesheets/pages/environments.scss
+1
-0
No files found.
app/assets/javascripts/environments/components/environment_item.vue
View file @
ef67147a
...
...
@@ -4,6 +4,7 @@ import _ from 'underscore';
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
UserAvatarLink
from
'
~/vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
{
humanize
}
from
'
~/lib/utils/text_utility
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
ActionsComponent
from
'
./environment_actions.vue
'
;
import
ExternalUrlComponent
from
'
./environment_external_url.vue
'
;
import
StopComponent
from
'
./environment_stop.vue
'
;
...
...
@@ -24,6 +25,7 @@ export default {
components
:
{
UserAvatarLink
,
CommitComponent
,
Icon
,
ActionsComponent
,
ExternalUrlComponent
,
StopComponent
,
...
...
@@ -520,27 +522,24 @@ export default {
role=
"button"
@
click=
"onClickFolder"
>
<span
class=
"folder-icon"
>
<i
v-show=
"model.isOpen"
class=
"fa fa-caret-down"
aria-hidden=
"true"
>
</i>
<i
v-show=
"!model.isOpen"
class=
"fa fa-caret-right"
aria-hidden=
"true"
>
</i>
</span>
<icon
v-show=
"model.isOpen"
name=
"angle-down"
class=
"folder-icon"
aria-hidden=
"true"
/>
<icon
v-show=
"!model.isOpen"
name=
"angle-right"
class=
"folder-icon"
aria-hidden=
"true"
/>
<span
class=
"folder-icon"
>
<i
class=
"fa fa-folder"
aria-hidden=
"true"
>
</i>
</span>
<icon
name=
"folder"
class=
"folder-icon"
aria-hidden=
"true"
/>
<span>
{{
model
.
folderName
}}
...
...
app/assets/stylesheets/pages/environments.scss
View file @
ef67147a
...
...
@@ -90,6 +90,7 @@
margin-right
:
3px
;
color
:
$gl-text-color-secondary
;
display
:
inline-block
;
vertical-align
:
text-top
;
.fa
:nth-child
(
1
)
{
margin-right
:
3px
;
...
...
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