Commit 35dd8359 authored by tmaruyama's avatar tmaruyama
Browse files

replace tabs to spaces and fix indents at app/views/settings/_repositories.html.erb

git-svn-id: https://svn.redmine.org/redmine/trunk@11625 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3c43ed18
......@@ -13,29 +13,29 @@
<% scm_class = "Repository::#{choice}".constantize %>
<% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %>
<% setting = :enabled_scm %>
<% enabled = Setting.send(setting).include?(value) %>
<% enabled = Setting.send(setting).include?(value) %>
<tr>
<td class="scm_name">
<label>
<%= check_box_tag("settings[#{setting}][]", value, enabled, :id => nil) %>
<%= text.to_s %>
<%= check_box_tag("settings[#{setting}][]", value, enabled, :id => nil) %>
<%= text.to_s %>
</label>
</td>
<td>
<% if enabled %>
<%=
image_tag(
<% if enabled %>
<%=
image_tag(
(scm_class.scm_available ? 'true.png' : 'exclamation.png'),
:style => "vertical-align:bottom;"
)
)
%>
<%= scm_class.scm_command %>
<% end %>
</td>
<td>
<%= scm_class.scm_version_string if enabled %>
</td>
</tr>
<% end %>
</td>
<td>
<%= scm_class.scm_version_string if enabled %>
</td>
</tr>
<% end %>
</table>
<p><em class="info"><%= l(:text_scm_config) %></em></p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment