# HG changeset patch
# User Chris Cannam
# Date 1301329990 -3600
# Node ID f5a3d57f3d907bd4fd123ad57dae698750c443a5
# Parent 6c56a595dc1c2af031acde6fef07d642c96789e3# Parent 6508e99869a2f137ef4fdbb973603f023443ed77
Merge from branch "feature_115"
diff -r 6c56a595dc1c -r f5a3d57f3d90 config/locales/en.yml
--- a/config/locales/en.yml Mon Mar 28 17:32:56 2011 +0100
+++ b/config/locales/en.yml Mon Mar 28 17:33:10 2011 +0100
@@ -934,7 +934,7 @@
text_settings_repo_is_internal: Currently the repository hosted at this site is the primary repository for this project.
text_settings_repo_is_external: Currently the repository hosted at this site is a read-only copy of an external repository.
text_settings_repo_need_help: Please contact us if you need help deciding how best to set this up.
We can also import complete revision history from other systems into a new primary repository for you if you wish.
-
+ text_repository_external: "The primary repository for this project is hosted at {{location}}
This repository is a read-only copy which is updated automatically."
default_role_manager: Manager
diff -r 6c56a595dc1c -r f5a3d57f3d90 vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml
--- a/vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml Mon Mar 28 17:32:56 2011 +0100
+++ b/vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml Mon Mar 28 17:33:10 2011 +0100
@@ -26,6 +26,10 @@
<% end %>
<% end%>
+ <% if repository.is_external? %>
+
<%= l(:text_repository_external, :location => repository.external_url) %>
+ <% end %> @@ -33,4 +37,4 @@ <%= stylesheet_link_tag 'checkout', :plugin => 'redmine_checkout' %> <%= javascript_include_tag 'checkout', :plugin => 'redmine_checkout' %> <%= (javascript_include_tag 'ZeroClipboard', :plugin => 'redmine_checkout') if Setting.checkout_use_zero_clipboard? %> -<% end %> \ No newline at end of file +<% end %>