# HG changeset patch # User Chris Cannam # Date 1301488664 -3600 # Node ID 89b3acb833d1391bfcf6f6c89f6acef42bf1b4d7 # Parent 7f5bd8f2d79b5edfd61bbe91b480af7a9b49635a# Parent d67a7d67b159da9eaccb48ef8bde04550f3490db Merge diff -r 7f5bd8f2d79b -r 89b3acb833d1 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 Wed Mar 30 11:05:36 2011 +0100 +++ b/vendor/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.rhtml Wed Mar 30 13:37:44 2011 +0100 @@ -20,7 +20,11 @@

<% if User.current.logged? %> + <% if repository.is_external? %> + <%=l :label_access_type_all, :type => l(:label_access_read_only) %> + <% else %> <% if default_protocol %><%=l :label_access_type, :type => l(default_protocol.access_label(User.current)) %><% end %> + <% end %> <% else %>   <% end %> diff -r 7f5bd8f2d79b -r 89b3acb833d1 vendor/plugins/redmine_checkout/config/locales/en.yml --- a/vendor/plugins/redmine_checkout/config/locales/en.yml Wed Mar 30 11:05:36 2011 +0100 +++ b/vendor/plugins/redmine_checkout/config/locales/en.yml Wed Mar 30 13:37:44 2011 +0100 @@ -17,6 +17,7 @@ button_add_protocol: "Add Protocol" label_access_type: 'You have {{type}} access to this URL.' + label_access_type_all: 'All access to this URL is {{type}}.' label_access_read_only: 'Read Only' label_access_read_write: "Read and Write" label_access_permission: "Depending on user's permissions" @@ -38,5 +39,5 @@ help_moved_settings: "The settings page has been moved to {{link}}." label_settings_location: "Administration -> Settings -> Checkout" - text_repository_external: "The primary repository for this project is hosted at {{location}} .
This repository is a read-only copy which is updated automatically." + text_repository_external: "The primary repository for this project is hosted at {{location}} .
This repository is a read-only copy which is updated automatically every hour."