]> source.dussan.org Git - redmine.git/commitdiff
Makes error class more specific to prevent clashes with syntax highlight (#10193).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 10 Feb 2012 18:03:10 +0000 (18:03 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 10 Feb 2012 18:03:10 +0000 (18:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8835 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/_form.html.erb
public/stylesheets/application.css

index b8dfbd65390a78b8c4ac66cab779783a0d9ed473..91a19ca43f4209aff6c1133438d4ea31be4824d2 100644 (file)
@@ -4,7 +4,7 @@
 <p>
 <%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
 <% if @repository && ! @repository.class.scm_available %>
-  <em class="info"><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
+  <em class="info error"><%= l(:text_scm_command_not_available) %></em>
 <% end %>
 </p>
 
index 6ff9d3682bab7e2638806ad4a370227d5b88fccc..bc04d7ee746114aed62ba25156e60a4dd6408a4b 100644 (file)
@@ -501,6 +501,7 @@ p.other-formats { text-align: right; font-size:0.9em; color: #666; }
 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
 
 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
+em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
 
 /* Project members tab */
 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
@@ -558,8 +559,6 @@ div.flash.warning, .conflict {
     color: #A6750C;
 }
 
-span.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
-
 #errorExplanation ul { font-size: 0.9em;}
 #errorExplanation h2, #errorExplanation p { display: none; }