]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3755 Add some html ids
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 6 Jun 2013 09:29:47 +0000 (11:29 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 6 Jun 2013 09:30:01 +0000 (11:30 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/issues/_sidebar.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb

index 53bd96295b497f52d0d93f3253f35778eb979fe2..4b5b94c1f8b746a3ee570ecff42ff9b157a4be50 100644 (file)
                        {:width => '100%', :placeholder => message('issue_filter.criteria.resolution')},
                        {:id => 'select-resolution', :multiple => true}-%>
     </li>
-    <li>
+    <li id="criteria-assignee" class="marginbottom5">
       <%= message 'issue_filter.criteria.assignee' -%>:
       <% selected_assignee = Api.users.findByLogin(@filter.criteria('assignees')) if @filter.criteria('assignees') %>
       <%= user_select_tag('assignees', {:selected_user => selected_assignee, :width => '100%', :placeholder => message('issue_filter.criteria.assignee'),
                         :html_id => 'select-assignee', :open => false, :allow_clear => true}) -%>
     </li>
-    <li>
+    <li id="criteria-reporter" class="marginbottom5">
       <%= message 'issue_filter.criteria.reporter' -%>:
       <% selected_reporter = Api.users.findByLogin(@filter.criteria('reporters')) if @filter.criteria('reporters') %>
       <%= user_select_tag('reporters', {:selected_user => selected_reporter, :width => '100%', :placeholder => message('issue_filter.criteria.reporter'),
                                         :html_id => 'select-reporter', :open => false, :allow_clear => true}) -%>
     </li>
-    <li class="marginbottom5">
+    <li id="criteria-created" class="marginbottom5">
       <%= message('issue_filter.criteria.created_after') -%>:<br>
-      <input type="text" name="createdAfter" value="<%= @filter.criteria['createdAfter'] -%>" size="10" maxlength="10" class="marginbottom5">
+      <input type="text" id="select-created-after" name="createdAfter" value="<%= @filter.criteria['createdAfter'] -%>" size="10" maxlength="10" class="marginbottom5">
       <br>
       <%= message 'issue_filter.criteria.created_before' -%>:<br>
-      <input type="text" name="createdBefore" value="<%= @filter.criteria['createdBefore'] -%>" size="10" maxlength="10"><br>
+      <input type="text" id="select-created-before" name="createdBefore" value="<%= @filter.criteria['createdBefore'] -%>" size="10" maxlength="10"><br>
       <span class="small gray"><%= message 'issue_filter.criteria.date_format' -%></span>
     </li>
     <li>
index 222f19c5786423de8f7f6d0931b5c7f4188dab4d..7316d99ac7a2bb5cc40eaa7eadbcb731d7fd681b 100644 (file)
@@ -1,9 +1,8 @@
 <div xmlns="http://www.w3.org/1999/html">
-  <div class="page-split-left">
+  <div id="issue-filter-sidebar" class="page-split-left">
     <%= render :partial => 'issues/sidebar' -%>
   </div>
 
-
   <div class="page-split-right">
     <div id="content">
       <div class="marginbottom10">