Revision 1310:c0eedaadb1f2

View differences:

plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb
16 16
    <p>
17 17
    <% if User.current.logged? %>
18 18
      <% if repository.is_external? %>
19
      <%=l :label_access_type_all, :type => l(:label_access_read_only) %>
19
      <%= (l :label_access_type_all, :type => l(:label_access_read_only)).html_safe %>
20 20
      <% else %>
21
      <% if default_protocol %><%=l :label_access_type, :type => l(default_protocol.access_label(User.current)) %><% end %>
21
      <% if default_protocol %><%= (l :label_access_type, :type => l(default_protocol.access_label(User.current))).html_safe %><% end %>
22 22
      <% end %>
23 23
    <% else %>
24 24
      &nbsp;
......
35 35
  <% if repository.is_external? %>
36 36
    <div style="clear: left">
37 37
    </div>
38
    <p class="topline" style="padding-top: 1em"><%= l(:text_repository_external, :location => repository.external_url) %></p>
38
    <p class="topline" style="padding-top: 1em"><%= (l(:text_repository_external, :location => repository.external_url)).html_safe %></p>
39 39
  <% end %>
40 40
</div>
41 41
<div style="clear: left"></div>
plugins/redmine_checkout/config/locales/en.yml
16 16
  label_protocol_plural: "Protocols"
17 17
  button_add_protocol: "Add Protocol"
18 18

  
19
  label_access_type: 'You have <span id="checkout_access">{{type}}</span> access to this URL.'
20
  label_access_type_all: 'All access to this URL is <span id="checkout_access">{{type}}</span>.'
19
  label_access_type: 'You have <span id="checkout_access">%{type}</span> access to this URL.'
20
  label_access_type_all: 'All access to this URL is <span id="checkout_access">%{type}</span>.'
21 21
  label_access_read_only: 'Read Only'
22 22
  label_access_read_write: "Read and Write"
23 23
  label_access_permission: "Depending on user's permissions"
......
36 36
    supports back-references to braced expressions using the \1 notation.
37 37
  help_repository_checkout_protocols: |
38 38
    Leave the Checkout URL field empty to use the defined repository URL.
39
  help_moved_settings: "The settings page has been moved to {{link}}."
39
  help_moved_settings: "The settings page has been moved to %{link}."
40 40
  label_settings_location: "Administration -> Settings -> Checkout"
41 41

  
42
  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."
42
  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."
43 43

  

Also available in: Unified diff