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
8b44c80b
Commit
8b44c80b
authored
Sep 06, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify vue component due to static-analysis failure
parent
98ccd4dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
ee/app/assets/javascripts/sidebar/components/weight/weight.vue
...p/assets/javascripts/sidebar/components/weight/weight.vue
+8
-7
No files found.
ee/app/assets/javascripts/sidebar/components/weight/weight.vue
View file @
8b44c80b
...
...
@@ -167,9 +167,8 @@ export default {
class=
"float-right js-weight-edit-link"
href=
"#"
@
click=
"onEditClick(!shouldShowEditField)"
>
{{
__
(
'
Edit
'
)
}}
</a
>
{{
__
(
'
Edit
'
)
}}
</a>
</div>
<div
v-if=
"shouldShowEditField"
class=
"hide-collapsed"
>
<input
...
...
@@ -188,15 +187,17 @@ export default {
</div>
<div
v-if=
"shouldShowWeight"
class=
"value hide-collapsed js-weight-weight-label"
>
<span
v-if=
"!isNoValue"
>
<strong
class=
"js-weight-weight-label-value"
data-qa-selector=
"weight_label_value"
>
{{
weight
}}
</strong>
<strong
class=
"js-weight-weight-label-value"
data-qa-selector=
"weight_label_value"
>
{{
weight
}}
</strong>
<span
v-if=
"editable"
>
-
<a
class=
"btn-default-hover-link js-weight-remove-link"
href=
"#"
@
click=
"removeWeight"
>
{{
__
(
'
remove weight
'
)
}}
</a>
<a
class=
"btn-default-hover-link js-weight-remove-link"
href=
"#"
@
click=
"removeWeight"
>
{{
__
(
'
remove weight
'
)
}}
</a>
</span>
</span>
<span
v-else
class=
"no-value"
>
{{
noValueLabel
}}
</span>
<span
v-else
class=
"no-value"
>
{{
noValueLabel
}}
</span>
</div>
</div>
</
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