# HG changeset patch # User Chris Cannam # Date 1301065620 0 # Node ID 6508e99869a2f137ef4fdbb973603f023443ed77 # Parent defe55be97b9d9fb210123aa781221dd144a6e7e Add a note explaining that the repo is external (if relevant) and giving its URL (do we want this?) diff -r defe55be97b9 -r 6508e99869a2 config/locales/en.yml --- a/config/locales/en.yml Thu Mar 24 15:48:36 2011 +0000 +++ b/config/locales/en.yml Fri Mar 25 15:07:00 2011 +0000 @@ -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 defe55be97b9 -r 6508e99869a2 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 Thu Mar 24 15:48:36 2011 +0000 +++ b/vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml Fri Mar 25 15:07:00 2011 +0000 @@ -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 %>