Label 'Permissions' replaced with 'Prohibit access for'
This commit is contained in:
parent
e773b035eb
commit
7339449c10
@ -48,19 +48,19 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% unless @folder.locked? %>
|
||||
<%= link_to(l(:button_delete), delete_dmsf_path(id: @project, folder_id: @folder),
|
||||
<%= link_to l(:button_delete), delete_dmsf_path(id: @project, folder_id: @folder),
|
||||
data: { confirm: l(:text_are_you_sure) },
|
||||
title: l(:button_delete), class: 'icon icon-del', method: :delete) %>
|
||||
title: l(:button_delete), class: 'icon icon-del', method: :delete %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% create = @pathfolder == @parent %>
|
||||
<%= render partial: 'path',
|
||||
locals: { folder: @pathfolder, filename: create ? l(:heading_new_folder) : nil, title: nil} %>
|
||||
locals: { folder: @pathfolder, filename: create ? l(:heading_new_folder) : nil, title: nil } %>
|
||||
|
||||
<%= labelled_form_for(@folder,
|
||||
url: { action: create ? 'create' : 'save', id: @project, folder_id: @folder, parent_id: @parent},
|
||||
url: { action: create ? 'create' : 'save', id: @project, folder_id: @folder, parent_id: @parent },
|
||||
html: { method: :post }) do |f| %>
|
||||
<%= error_messages_for @folder %>
|
||||
<%= f.hidden_field :redirect_to_folder_id, value: @redirect_to_folder_id %>
|
||||
@ -94,7 +94,7 @@
|
||||
<br/>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= label_tag '', l(:label_permissions) %>
|
||||
<%= label_tag '', l(:label_dmsf_permissions) %>
|
||||
<% Role.givable.each do |role| %>
|
||||
<% checked = @folder.permission_for_role(role) %>
|
||||
<label class="inline">
|
||||
|
||||
@ -20,22 +20,18 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
%>
|
||||
|
||||
<h3 class="title"><%= l(:label_user_search) %></h3>
|
||||
|
||||
<h3 class="title"><%= l(:label_dmsf_permissions) %></h3>
|
||||
<%= form_tag(append_dmsf_folder_permissions_path, remote: true, method: :post, id: 'new-user-form') do %>
|
||||
<%= hidden_field_tag :project_id, @project.id %>
|
||||
|
||||
<%= hidden_field_tag :project_id, @project.id %>
|
||||
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
|
||||
<%= late_javascript_tag "observeSearchfield('user_search', 'users_for_users', '#{ escape_javascript url_for(
|
||||
controller: 'dmsf_folder_permissions', action: 'autocomplete_for_user', project_id: @project,
|
||||
dmsf_folder_id: @dmsf_folder) }')" %>
|
||||
|
||||
<div id="users_for_watcher">
|
||||
<%= render_principals_for_new_folder_permissions @principals %>
|
||||
</div>
|
||||
|
||||
<p class="buttons">
|
||||
<%= submit_tag l(:button_add), name: nil, onclick: 'hideModal(this);' %>
|
||||
<%= submit_tag l(:button_cancel), name: nil, onclick: 'hideModal(this);', type: 'button' %>
|
||||
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@ -396,7 +396,8 @@ cs:
|
||||
text_dmsf_fast_links_info: Při vytváření odkazů budete moci zadat přímo ID cílového adresáře za účelem zrychlení
|
||||
procesu vytváření odkazů.
|
||||
|
||||
label_inherited_permissions: Zděděná práva
|
||||
label_dmsf_permissions: Vyhrazený přístup pro
|
||||
label_inherited_permissions: Zděděný přístup pro
|
||||
|
||||
button_edit_content: Upravit obsah
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -397,7 +397,8 @@ de:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Bearbeiten den Inhalt
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ en:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ es:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ fr:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -395,7 +395,8 @@ hu:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ it: # Italian strings thx 2 Matteo Arceci!
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ ja:
|
||||
text_dmsf_fast_links_info: ターゲットフォルダのIDを手動で入力することで、リンク作成時のプロセスを高速化することができます。
|
||||
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -395,7 +395,8 @@ ko:
|
||||
label_dmsf_fast_links: 빠른 링크
|
||||
text_dmsf_fast_links_info: 링크 생성을 더 빨리할 수 있도록 링크 생성 시에 대상 폴더의 식별자를 직접 입력할 수 있게 됩니다.
|
||||
|
||||
label_inherited_permissions: 상속된 권한
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: 내용 편집
|
||||
field_workflow: 작업 흐름
|
||||
|
||||
@ -396,7 +396,8 @@ nl:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ pl:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ pt-BR:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ ru:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ sl:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ zh-TW:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
@ -396,7 +396,8 @@ zh:
|
||||
text_dmsf_fast_links_info: You will be able to manually enter a target folder's ID when creating links in order to speed
|
||||
up the process of creating links.
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
label_dmsf_permissions: Prohibit Access for
|
||||
label_inherited_permissions: Inherited Access for
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user