summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/repositories/_form.html.erb2
-rw-r--r--public/stylesheets/application.css3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/repositories/_form.html.erb b/app/views/repositories/_form.html.erb
index b8dfbd653..91a19ca43 100644
--- a/app/views/repositories/_form.html.erb
+++ b/app/views/repositories/_form.html.erb
@@ -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>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 6ff9d3682..bc04d7ee7 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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; }