Mercurial > hg > soundsoftware-site
changeset 338:89b3acb833d1 live
Merge
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 30 Mar 2011 13:37:44 +0100 |
parents | 7f5bd8f2d79b (current diff) d67a7d67b159 (diff) |
children | b9d158e46acb |
files | |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ <p> <% 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 %>
--- 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 <span id="checkout_access">{{type}}</span> access to this URL.' + label_access_type_all: 'All access to this URL is <span id="checkout_access">{{type}}</span>.' 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 <code>{{location}}</code> .<br>This repository is a read-only copy which is updated automatically." + text_repository_external: "The primary repository for this project is hosted at <code>{{location}}</code> .<br>This repository is a read-only copy which is updated automatically every hour."