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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
24a272f9
Commit
24a272f9
authored
Jun 08, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uses tooltip correctly in comparion_pane component. Removes incorrect usage of aria attributes
parent
ebdc7f11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
...ipts/sidebar/components/time_tracking/comparison_pane.vue
+5
-6
No files found.
app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
View file @
24a272f9
<
script
>
import
{
parseSeconds
,
stringifyTime
}
from
'
../../../lib/utils/pretty_time
'
;
import
tooltip
from
'
../../../vue_shared/directives/tooltip
'
;
export
default
{
name
:
'
TimeTrackingComparisonPane
'
,
directives
:
{
tooltip
,
},
props
:
{
timeSpent
:
{
type
:
Number
,
...
...
@@ -51,17 +55,12 @@ export default {
<div
class=
"time-tracking-comparison-pane"
>
<div
class=
"compare-meter"
data-toggle=
"tooltip"
data-placement=
"top"
role=
"timeRemainingDisplay"
:aria-valuenow=
"timeRemainingTooltip"
:title=
"timeRemainingTooltip"
:data-original-title=
"timeRemainingTooltip"
v-tooltip
:class=
"timeRemainingStatusClass"
>
<div
class=
"meter-container"
role=
"timeSpentPercent"
:aria-valuenow=
"timeRemainingPercent"
>
<div
...
...
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