# HG changeset patch # User Chris Cannam # Date 1301331050 -3600 # Node ID 8019c250165b2ffe50e1a4bde19b287821f2dd25 # Parent 0a829eae7cf38df2fd4ce9aeb7c3b6fd798b1f6b# Parent 6508e99869a2f137ef4fdbb973603f023443ed77 Merge from branch "feature_115" diff -r 0a829eae7cf3 -r 8019c250165b config/locales/en.yml --- a/config/locales/en.yml Mon Mar 28 17:50:43 2011 +0100 +++ b/config/locales/en.yml Mon Mar 28 17:50:50 2011 +0100 @@ -936,7 +936,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 0a829eae7cf3 -r 8019c250165b 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:50:43 2011 +0100 +++ b/vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml Mon Mar 28 17:50:50 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 %>