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
57de747c
Commit
57de747c
authored
Apr 25, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] code review comments
parent
f44bac30
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
...scripts/sidebar/components/assignees/sidebar_assignees.js
+1
-2
app/assets/javascripts/sidebar/components/time_tracking/collapsed_state.js
...ripts/sidebar/components/time_tracking/collapsed_state.js
+2
-0
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.js
...ascripts/sidebar/components/time_tracking/time_tracker.js
+3
-2
app/assets/javascripts/sidebar/services/sidebar_service.js
app/assets/javascripts/sidebar/services/sidebar_service.js
+0
-1
No files found.
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
View file @
57de747c
...
...
@@ -48,8 +48,7 @@ export default {
eventHub
.
$on
(
'
sidebar.saveUsers
'
,
this
.
saveUsers
);
},
beforeMount
()
{
const
element
=
this
.
$el
;
this
.
field
=
element
.
dataset
.
field
;
this
.
field
=
this
.
$el
.
dataset
.
field
;
},
template
:
`
<div>
...
...
app/assets/javascripts/sidebar/components/time_tracking/collapsed_state.js
View file @
57de747c
...
...
@@ -24,10 +24,12 @@ export default {
timeSpentHumanReadable
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
timeEstimateHumanReadable
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
},
methods
:
{
...
...
app/assets/javascripts/sidebar/components/time_tracking/time_tracker.js
View file @
57de747c
...
...
@@ -13,24 +13,25 @@ export default {
time_estimate
:
{
type
:
Number
,
required
:
true
,
default
:
0
,
},
time_spent
:
{
type
:
Number
,
required
:
true
,
default
:
0
,
},
human_time_estimate
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
human_time_spent
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
rootPath
:
{
type
:
String
,
required
:
true
,
default
:
''
,
},
},
data
()
{
...
...
app/assets/javascripts/sidebar/services/sidebar_service.js
View file @
57de747c
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
import
'
../../vue_shared/vue_resource_interceptor
'
;
Vue
.
use
(
VueResource
);
...
...
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