##// END OF EJS Templates
scm: add the feature of SCM command availability automatic check in administration panel (#4273)....
Toshi MARUYAMA -
r5512:84b5a6e7b5e0
parent child
Show More
@@ -8,10 +8,16
8 <div class="box tabular">
8 <div class="box tabular">
9 <p>
9 <p>
10 <%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
10 <%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
11 <% if @repository %>
12 <br />
13 <%= image_tag((@repository.class.scm_available ? 'true.png' : 'exclamation.png'))%>
14 <%= l(:text_scm_command) -%>: <%= @repository.class.scm_command -%>,
15 <%= l(:text_scm_version) -%>: <%= @repository.class.scm_version_string %>
16 <% end %>
11 </p>
17 </p>
12 <% button_disabled = true %>
18 <% button_disabled = true %>
13 <% if @repository %>
19 <% if @repository %>
14 <% button_disabled = false %>
20 <% button_disabled = ! @repository.class.scm_available %>
15 <%= repository_field_tags(f, @repository)%>
21 <%= repository_field_tags(f, @repository)%>
16 <% end %>
22 <% end %>
17 </div>
23 </div>
@@ -943,6 +943,8 en:
943 text_scm_path_encoding_note: "Default: UTF-8"
943 text_scm_path_encoding_note: "Default: UTF-8"
944 text_git_repository_note: "Bare and local repository (e.g. /gitrepo, c:\gitrepo)"
944 text_git_repository_note: "Bare and local repository (e.g. /gitrepo, c:\gitrepo)"
945 text_mercurial_repository_note: "Local repository (e.g. /hgrepo, c:\hgrepo)"
945 text_mercurial_repository_note: "Local repository (e.g. /hgrepo, c:\hgrepo)"
946 text_scm_command: Command
947 text_scm_version: Version
946
948
947 default_role_manager: Manager
949 default_role_manager: Manager
948 default_role_developer: Developer
950 default_role_developer: Developer
General Comments 0
You need to be logged in to leave comments. Login now