BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
682df5c5
Commit
682df5c5
authored
May 31, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace v-show with v-if to conform style guide
parent
b2f18828
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+7
-10
No files found.
app/assets/javascripts/groups/components/group_item.vue
View file @
682df5c5
...
...
@@ -84,9 +84,6 @@ export default {
return
fullPath
;
},
hasGroups
()
{
return
Object
.
keys
(
this
.
group
.
subGroups
).
length
>
0
;
},
},
};
</
script
>
...
...
@@ -99,7 +96,7 @@ export default {
>
<div
class=
"controls"
>
<a
v-
show
=
"group.canEdit"
v-
if
=
"group.canEdit"
class=
"edit-group btn"
:href=
"group.editPath"
>
<i
aria-hidden=
"true"
class=
"fa fa-cogs"
></i>
...
...
@@ -127,22 +124,22 @@ export default {
</div>
<div
class=
"folder-toggle-wrap"
>
<span
class=
"folder-caret"
>
<span
class=
"folder-caret"
v-if=
"group.hasSubgroups"
>
<i
v-
show
=
"group.isOpen"
v-
if
=
"group.isOpen"
class=
"fa fa-caret-down"
/>
<i
v-
show
=
"!group.isOpen"
v-
if
=
"!group.isOpen"
class=
"fa fa-caret-right"
/>
</span>
<span
class=
"folder-icon"
>
<i
v-
show
=
"group.isOpen"
v-
if
=
"group.isOpen"
class=
"fa fa-folder-open"
aria-hidden=
"true"
></i>
<i
v-
show
=
"!group.isOpen"
v-
if
=
"!group.isOpen"
class=
"fa fa-folder"
></i>
</span>
</div>
...
...
@@ -161,6 +158,6 @@ export default {
{{
group
.
description
}}
</div>
<group-folder
v-if=
"group.isOpen &&
hasG
roups"
:groups=
"group.subGroups"
:baseGroup=
"group"
/>
<group-folder
v-if=
"group.isOpen &&
group.hasSubg
roups"
:groups=
"group.subGroups"
:baseGroup=
"group"
/>
</li>
</
template
>
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