diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-06-02 18:02:21 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-06-02 18:02:33 +0600 |
commit | cc721895d2e109e396fe8353c3b7d341f4d87a1e (patch) | |
tree | cf1b6386726440fca73c621bc930ba4094aebbab /sonar-server/src/main/hbs/issues | |
parent | 69feaa8ac907daff9852890d89eb9c8d03889263 (diff) | |
download | sonarqube-cc721895d2e109e396fe8353c3b7d341f4d87a1e.tar.gz sonarqube-cc721895d2e109e396fe8353c3b7d341f4d87a1e.zip |
SONAR-5367 Use /api/issues/changelog to get issue's changelog
Diffstat (limited to 'sonar-server/src/main/hbs/issues')
-rw-r--r-- | sonar-server/src/main/hbs/issues/change-log.hbs | 15 | ||||
-rw-r--r-- | sonar-server/src/main/hbs/issues/issue.hbs | 18 |
2 files changed, 16 insertions, 17 deletions
diff --git a/sonar-server/src/main/hbs/issues/change-log.hbs b/sonar-server/src/main/hbs/issues/change-log.hbs new file mode 100644 index 00000000000..6bf0e779551 --- /dev/null +++ b/sonar-server/src/main/hbs/issues/change-log.hbs @@ -0,0 +1,15 @@ +<table class="spaced"> + <tbody> + {{#each items}} + <tr> + <td class="thin left top" nowrap>{{dt creationDate}}</td> + <td class="thin left top" nowrap>{{user}}</td> + <td class="left top"> + {{#each diffs}} + {{changelog this}}<br> + {{/each}} + </td> + </tr> + {{/each}} + </tbody> +</table>
\ No newline at end of file diff --git a/sonar-server/src/main/hbs/issues/issue.hbs b/sonar-server/src/main/hbs/issues/issue.hbs index b9480d122f4..02de98970ca 100644 --- a/sonar-server/src/main/hbs/issues/issue.hbs +++ b/sonar-server/src/main/hbs/issues/issue.hbs @@ -116,23 +116,7 @@ <div class="rule-desc"></div> </div> - <div id="tab-issue-changelog"> - <table class="spaced"> - <tbody> - {{#each changelog}} - <tr> - <td class="thin left top" nowrap>{{fCreationDate}}</td> - <td class="thin left top" nowrap>{{userName}}</td> - <td class="left top"> - {{#each diffs}} - {{this}}<br> - {{/each}} - </td> - </tr> - {{/each}} - </tbody> - </table> - </div> + <div id="tab-issue-changelog"></div> </div> |