Slight UI changes (#4273).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5960 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-05-29 11:59:16 +00:00
parent a3df0f7d38
commit 3e3c2333e4
3 changed files with 7 additions and 11 deletions
@@ -9,9 +9,8 @@
<p>
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
<% if @repository && ! @repository.class.scm_available %>
<br />
<%= image_tag((@repository.class.scm_available ? 'true.png' : 'exclamation.png'))%>
<%= l(:text_scm_command_not_available) %>
<br />
<em><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
<% end %>
</p>
<% button_disabled = true %>
+1 -7
View File
@@ -4,8 +4,6 @@
<legend><%= l(:setting_enabled_scm) %></legend>
<table>
<tr>
<th></th>
<th></th>
<th></th>
<th><%= l(:text_scm_command) %></th>
<th><%= l(:text_scm_command_version) %></th>
@@ -15,15 +13,13 @@
<% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %>
<% setting = :enabled_scm %>
<tr>
<td>
<td class="scm_name">
<%=
check_box_tag(
"settings[#{setting}][]",
value,
Setting.send(setting).include?(value))
%>
</td>
<td class="scm_name">
<%= text.to_s %>
</td>
<td>
@@ -33,8 +29,6 @@
:style => "vertical-align:bottom;"
)
%>
</td>
<td>
<%= scm_class.scm_command %>
</td>
<td>