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
467623aa
Commit
467623aa
authored
May 03, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move TimeTrackingSpentOnlyPane vue component
parent
0bca017d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
spent_only_pane.vue
...ipts/sidebar/components/time_tracking/spent_only_pane.vue
+10
-7
time_tracker.vue
...scripts/sidebar/components/time_tracking/time_tracker.vue
+2
-2
move-time-tracking-spent-only-pane-vue-component.yml
...ased/move-time-tracking-spent-only-pane-vue-component.yml
+5
-0
No files found.
app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.
js
→
app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.
vue
View file @
467623aa
<
script
>
export
default
{
name
:
'
time-tracking-spent-only-p
ane'
,
name
:
'
TimeTrackingSpentOnlyP
ane'
,
props
:
{
timeSpentHumanReadable
:
{
type
:
String
,
required
:
true
,
},
},
template
:
`
<div class="time-tracking-spend-only-pane">
<span class="bold">Spent:</span>
{{ timeSpentHumanReadable }}
</div>
`
,
};
</
script
>
<
template
>
<div
class=
"time-tracking-spend-only-pane"
>
<span
class=
"bold"
>
Spent:
</span>
{{
timeSpentHumanReadable
}}
</div>
</
template
>
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.vue
View file @
467623aa
<
script
>
import
TimeTrackingHelpState
from
'./help_state.vue'
;
import
TimeTrackingCollapsedState
from
'./collapsed_state.vue'
;
import
timeTrackingSpentOnlyPane
from
'./spent_only_pan
e'
;
import
TimeTrackingSpentOnlyPane
from
'./spent_only_pane.vu
e'
;
import
TimeTrackingNoTrackingPane
from
'./no_tracking_pane.vue'
;
import
TimeTrackingEstimateOnlyPane
from
'./estimate_only_pane.vue'
;
import
TimeTrackingComparisonPane
from
'./comparison_pane.vue'
;
...
...
@@ -13,7 +13,7 @@ export default {
components
:
{
TimeTrackingCollapsedState
,
TimeTrackingEstimateOnlyPane
,
'time-tracking-spent-only-pane'
:
t
imeTrackingSpentOnlyPane
,
T
imeTrackingSpentOnlyPane
,
TimeTrackingNoTrackingPane
,
TimeTrackingComparisonPane
,
TimeTrackingHelpState
,
...
...
changelogs/unreleased/move-time-tracking-spent-only-pane-vue-component.yml
0 → 100644
View file @
467623aa
---
title
:
Move TimeTrackingSpentOnlyPane vue component
merge_request
:
18710
author
:
George Tsiolis
type
:
performance
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