diff options
author | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-14 09:56:07 +0200 |
---|---|---|
committer | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-14 09:56:07 +0200 |
commit | 838667449df60c1858efa51fd23ef768d9d00d4b (patch) | |
tree | bb15892ed23bef78c8068a00d17f55fcb0b2a2e1 /sonar-server | |
parent | d5ca3028e37cd6861d1eff6a2cd2e5609f8fdfd1 (diff) | |
download | sonarqube-838667449df60c1858efa51fd23ef768d9d00d4b.tar.gz sonarqube-838667449df60c1858efa51fd23ef768d9d00d4b.zip |
SONAR-4375 Added ids on HTML elements to ease testing
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb index 4c276319a75..f8901aa0ee4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb @@ -21,7 +21,7 @@ <% end %> <img src="<%= ApplicationController.root_context -%>/images/sep12.png"/> - <a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a> + <a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link" id="toggle-issue-changelog"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a> <% if issue.reporter %> <img src="<%= ApplicationController.root_context -%>/images/sep12.png"/> @@ -38,7 +38,7 @@ </div> <div class="issue-rule rule_detail" style="display: none"></div> - <div class="issue-changelog" style="display: none"></div> + <div class="issue-changelog" id="issue-changelog" style="display: none"></div> <% unless issue.message.blank? %> <div class="code-issue-msg"> |