Makes error class more specific to prevent clashes with syntax highlight (#10193).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8835 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-02-10 18:03:10 +00:00
parent 71f3589238
commit c0491d298b
2 changed files with 2 additions and 3 deletions

View 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>

View 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; }