diff --git a/app/views/projects/settings/_repository.html.erb b/app/views/projects/settings/_repository.html.erb index cba6c4e..61ca70a 100644 --- a/app/views/projects/settings/_repository.html.erb +++ b/app/views/projects/settings/_repository.html.erb @@ -10,7 +10,7 @@ <%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %> <% if @repository && ! @repository.class.scm_available %>
- <%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %> + <%= content_tag 'span', l(:text_scm_command_not_available) %> <% end %>

<% button_disabled = true %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 21e59cb..59de5fd 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -481,6 +481,9 @@ 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% } div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% } @@ -534,8 +537,6 @@ div.flash.warning { 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; }