]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4375 Added ids on HTML elements to ease testing
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 14 Aug 2013 07:56:07 +0000 (09:56 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 14 Aug 2013 07:56:07 +0000 (09:56 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb

index 4c276319a75b6a31dd2e371b266713a7c5cec6cf..f8901aa0ee43d0cd1bda7a498bed74c5ec266d40 100644 (file)
@@ -21,7 +21,7 @@
     <% end %>
     <img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
     &nbsp;
-    <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>
     &nbsp;
     <% 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">