scm: remove scm command and version on project setting (#4273).

show a message only if scm command is not available.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-05-29 10:56:49 +00:00
parent 88d81d5115
commit 3720d7f6f2
2 changed files with 3 additions and 4 deletions
@@ -8,12 +8,10 @@
<div class="box tabular">
<p>
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
<% if @repository %>
<% if @repository && ! @repository.class.scm_available %>
<br />
<%= image_tag((@repository.class.scm_available ? 'true.png' : 'exclamation.png'))%>
<%= l(:text_scm_command) -%>: <%= @repository.class.scm_command %>
|
<%= l(:text_scm_command_version) -%>: <%= @repository.class.scm_version_string %>
<%= l(:text_scm_command_not_available) %>
<% end %>
</p>
<% button_disabled = true %>