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
ef04186f
Commit
ef04186f
authored
Apr 12, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'move-help-state-vue-component' into 'master'
Move TimeTrackingHelpState vue component See merge request gitlab-org/gitlab-ce!18319
parents
8e0e9d6d
93c55f58
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
25 deletions
+33
-25
help_state.vue
...vascripts/sidebar/components/time_tracking/help_state.vue
+26
-23
time_tracker.vue
...scripts/sidebar/components/time_tracking/time_tracker.vue
+2
-2
move-help-state-vue-component.yml
changelogs/unreleased/move-help-state-vue-component.yml
+5
-0
No files found.
app/assets/javascripts/sidebar/components/time_tracking/help_state.
js
→
app/assets/javascripts/sidebar/components/time_tracking/help_state.
vue
View file @
ef04186f
<
script
>
import
{
sprintf
,
s__
}
from
'../../../locale'
;
export
default
{
name
:
'
time-tracking-help-s
tate'
,
name
:
'
TimeTrackingHelpS
tate'
,
props
:
{
rootPath
:
{
type
:
String
,
...
...
@@ -27,26 +28,28 @@ export default {
);
},
},
template
:
`
<div class="time-tracking-help-state">
<div class="time-tracking-info">
<h4>
{{ __('Track time with quick actions') }}
</h4>
<p>
{{ __('Quick actions can be used in the issues description and comment boxes.') }}
</p>
<p v-html="estimateText">
</p>
<p v-html="spendText">
</p>
<a
class="btn btn-default learn-more-button"
:href="href"
>
{{ __('Learn more') }}
</a>
</div>
</div>
`
,
};
</
script
>
<
template
>
<div
class=
"time-tracking-help-state"
>
<div
class=
"time-tracking-info"
>
<h4>
{{
__
(
'Track time with quick actions'
)
}}
</h4>
<p>
{{
__
(
'Quick actions can be used in the issues description and comment boxes.'
)
}}
</p>
<p
v-html=
"estimateText"
>
</p>
<p
v-html=
"spendText"
>
</p>
<a
class=
"btn btn-default learn-more-button"
:href=
"href"
>
{{
__
(
'Learn more'
)
}}
</a>
</div>
</div>
</
template
>
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.vue
View file @
ef04186f
<
script
>
import
timeTrackingHelpState
from
'./help_stat
e'
;
import
TimeTrackingHelpState
from
'./help_state.vu
e'
;
import
TimeTrackingCollapsedState
from
'./collapsed_state.vue'
;
import
timeTrackingSpentOnlyPane
from
'./spent_only_pane'
;
import
timeTrackingNoTrackingPane
from
'./no_tracking_pane'
;
...
...
@@ -16,7 +16,7 @@ export default {
'time-tracking-spent-only-pane'
:
timeTrackingSpentOnlyPane
,
'time-tracking-no-tracking-pane'
:
timeTrackingNoTrackingPane
,
TimeTrackingComparisonPane
,
'time-tracking-help-state'
:
t
imeTrackingHelpState
,
T
imeTrackingHelpState
,
},
props
:
{
time_estimate
:
{
...
...
changelogs/unreleased/move-help-state-vue-component.yml
0 → 100644
View file @
ef04186f
---
title
:
Move TimeTrackingHelpState vue component
merge_request
:
18319
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