aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-24 23:47:53 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-24 23:47:53 +0100
commit69fdd0c6b16f4f83481744f335eda8db1dc08c44 (patch)
tree7e3d9641e14eeeb1befbc2514d43e6ac9339a165
parent5b1a3e4f242c25a2788de284d4ee24ccc02fcac3 (diff)
downloadsonarqube-69fdd0c6b16f4f83481744f335eda8db1dc08c44.tar.gz
sonarqube-69fdd0c6b16f4f83481744f335eda8db1dc08c44.zip
Add HTML name for integration tests
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css2
3 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb
index de2963c8799..19f671eb968 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb
@@ -45,13 +45,13 @@
<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>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb
index e8ae9b7b3d1..6a68642261b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb
@@ -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>
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index ec4912a167c..73574aaf5ea 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -2045,7 +2045,7 @@ ul.bullet li {
width: 100%;
}
-.rule_detail .markdown-help {
+.markdown-tips {
vertical-align: top;
white-space: nowrap;
}