aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/hbs/issue/issue-changelog.hbs
blob: e1cb758c5745a2c7958ef372e30ff53b263a3533 (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
26
27
28
29
30
31
32
33
34
35
36
<div class="issue-changelog">
  <table class="spaced">
    <tbody>

    <tr>
      <td class="thin text-left text-top" nowrap>{{dt issue.creationDate}}</td>
      <td class="thin text-left text-top" nowrap></td>
      <td class="text-left text-top">
        {{#if issue.reporter}}
          {{t 'issue.reported_by'}} {{default issue.reporterName issue.reporter}}
        {{else}}
          {{#if issue.author}}
            {{t 'created_by'}} {{issue.author}}
          {{else}}
            {{t 'created'}}
          {{/if}}
        {{/if}}
      </td>
    </tr>

    {{#each items}}
      <tr>
        <td class="thin text-left text-top" nowrap>{{dt creationDate}}</td>
        <td class="thin text-left text-top" nowrap>{{userName}}</td>
        <td class="text-left text-top">
          {{#each diffs}}
            {{changelog this}}<br>
          {{/each}}
        </td>
      </tr>
    {{/each}}
    </tbody>
  </table>
</div>

<div class="bubble-popup-arrow"></div>