0002-Clarify-consequences-of-setting-a-project-as-public.patch

Holger Just, 2018-04-20 15:13

Download (2.66 KB)

View differences:

app/views/projects/_form.html.erb
10 10
  <em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
11 11
<% end %></p>
12 12
<p><%= f.text_field :homepage, :size => 60 %></p>
13
<p><%= f.check_box :is_public %></p>
13
<p>
14
  <%= f.check_box :is_public %>
15
  <em class="info"><%= Setting.login_required? ? l(:text_project_is_public_non_member) : l(:text_project_is_public_anonymous) %></em>
16
</p>
14 17

  
15 18
<% unless @project.allowed_parents.compact.empty? %>
16 19
    <p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
config/locales/de.yml
1237 1237
  text_login_required_html: Ohne erforderliche Authentifizierung sind öffentlichen Projekte und deren Inhalte ohne Anmeldung frei zugänglich. Sie können die <a href="%{anonymous_role_path}">verwendeten Berechtigungen anpassen</a>.
1238 1238
  label_login_required_yes: "Ja"
1239 1239
  label_login_required_no: "Nein, anonymen Zugriff auf öffentliche Projekte erlauben"
1240
  text_project_is_public_non_member: Öffentliche Projekte und deren Inhalte sind für alle angemeldeten Benutzer zugänglich.
1241
  text_project_is_public_anonymous: Öffentliche Projekte und deren Inhalte sind ohne Anmeldung frei zugänglich.
config/locales/en.yml
1217 1217
  text_login_required_html: When not requiring authentication, public projects and their contents are openly available on the network. You can <a href="%{anonymous_role_path}">edit the applicable permissions</a>.
1218 1218
  label_login_required_yes: "Yes"
1219 1219
  label_login_required_no: "No, allow anonymous access to public projects"
1220
  text_project_is_public_non_member: Public projects and their contents are available to all logged-in users.
1221
  text_project_is_public_anonymous: Public projects and their contents are openly available on the network.
1220
-