Welcome to mirror list, hosted at ThFree Co, Russian Federation.

help_state.js « components « time_tracking « issuable « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 344b29ebea4d4dde9503fda5770e071f82f7cf2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import Vue from 'vue';

(() => {
  Vue.component('time-tracking-help-state', {
    name: 'time-tracking-help-state',
    props: ['docsUrl'],
    template: `
      <div class='time-tracking-help-state'>
        <div class='time-tracking-info'>
          <h4>Track time with slash commands</h4>
          <p>Slash commands can be used in the issues description and comment boxes.</p>
          <p>
            <code>/estimate</code>
            will update the estimated time with the latest command.
          </p>
          <p>
            <code>/spend</code>
            will update the sum of the time spent.
          </p>
          <a class='btn btn-default learn-more-button' :href='docsUrl'>Learn more</a>
        </div>
      </div>
    `,
  });
})();