]> source.dussan.org Git - sonarqube.git/commitdiff
Add HTML name for integration tests
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 24 Feb 2012 22:47:53 +0000 (23:47 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 24 Feb 2012 22:47:53 +0000 (23:47 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb
sonar-server/src/main/webapp/stylesheets/style.css

index de2963c8799f52db87e91a25108c0d289ad9c4f8..19f671eb9687f97f2653045e42fdc355aaf40b69 100644 (file)
           <textarea name="note" id="<%= active_note_textarea_id -%>" rows="10" style="width:100%"
                     onkeyup="if (this.value=='') $('<%= submit_active_note_update_button_id -%>').disabled=true; else $('<%= submit_active_note_update_button_id -%>').disabled=false;"><%= h(note.plain_text) if note -%></textarea>
         </td>
-        <td class="markdown-help">
+        <td class="markdown-tips">
           <%= render :partial => 'markdown/tips' -%>
         </td>
       </tr>
     <tr>
       <td colspan="2">
-        <input type="submit" value="<%= note ? message('update_verb') : message('rules_configuration.add_note') -%>" name="commit" id="<%= submit_active_note_update_button_id -%>" disabled="disabled"/>
+        <input type="submit" value="<%= note ? message('update_verb') : message('rules_configuration.add_note') -%>" name="submit-active-note" id="<%= submit_active_note_update_button_id -%>" disabled="disabled"/>
         <a href="#" onclick="$('<%= active_note_detail_div_id -%>').show();$('<%= active_note_form_div_id -%>').hide();return false;"><%= message('cancel') %></a>
       </td>
     </tr>
index e8ae9b7b3d1b6113a370a47970a236a0be7c643e..6a68642261bdc9f4d29a402926d01365b04660b9 100644 (file)
@@ -39,7 +39,7 @@
         <td class="width100">
           <textarea name="text" id="<%= note_textarea_id -%>" rows="10" style="width:100%"><%= h(note.plain_text) if note -%></textarea>
         </td>
-        <td class="markdown-help nowrap">
+        <td class="markdown-tips">
           <%= render :partial => 'markdown/tips' -%>
         </td>
       </tr>
index ec4912a167ccdc3158e0fb6ef9fc339aa945b068..73574aaf5ea3b2b6d93e3394708ebb87f84039b5 100644 (file)
@@ -2045,7 +2045,7 @@ ul.bullet li {
   width: 100%;
 }
 
-.rule_detail .markdown-help {
+.markdown-tips {
   vertical-align: top;
   white-space: nowrap;
 }