Commit ae7d3c63 authored by Bryce Johnson's avatar Bryce Johnson

Clean up markup and comments.

parent ce8bae43
......@@ -108,11 +108,11 @@
<div :style='{ width: diffPercent }' class='meter-fill'></div>
</div>
<div class='compare-display-container'>
<div class='compare-display'>
<div class='compare-display pull-left'>
<span class='compare-label'>Spent</span>
<span class='compare-value spent'>{{ spentPretty }}</span>
</div>
<div class='compare-display estimated'>
<div class='compare-display estimated pull-right'>
<span class='compare-label'>Est</span>
<span class='compare-value'>{{ estimatedPretty }}</span>
</div>
......@@ -145,7 +145,7 @@
<code>/spend</code>
will update the sum of the time spent.
</p>
<a class='btn btn-default learn-more-button' href='https://docs.gitlab.com/ee/workflow/time_tracking.html'> Learn more </a>
<a class='btn btn-default learn-more-button' href='http://example.com/time-tracking-url'>Learn more</a>
</div>
</div>
</div>
......
......@@ -2,7 +2,6 @@
//= require jquery
//= require vue
//= require issuable_time_tracker
//= require directives/tooltip_title
function initComponent(time_estimate = 100000, time_spent = 5000 ) {
fixture.set(`
......@@ -167,7 +166,7 @@ function initComponent(time_estimate = 100000, time_spent = 5000 ) {
});
it('should link to the correct documentation', function(done) {
const correctUrl = 'https://docs.gitlab.com/ee/workflow/time_tracking.html';
const correctUrl = 'http://example.com/time-tracking-url';
$(this.timeTracker.$el).find('.help-button').click();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment