decidim-admin 0.28.1 → 0.29.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/admin/content_block_cell.rb +0 -1
- data/app/cells/decidim/admin/results_per_page/show.erb +2 -2
- data/app/cells/decidim/admin/results_per_page_cell.rb +0 -2
- data/app/commands/decidim/admin/create_area.rb +4 -32
- data/app/commands/decidim/admin/create_area_type.rb +4 -33
- data/app/commands/decidim/admin/create_attachment.rb +5 -4
- data/app/commands/decidim/admin/create_attachment_collection.rb +3 -3
- data/app/commands/decidim/admin/create_category.rb +4 -37
- data/app/commands/decidim/admin/create_component.rb +7 -40
- data/app/commands/decidim/admin/create_newsletter.rb +11 -29
- data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -3
- data/app/commands/decidim/admin/create_scope.rb +15 -32
- data/app/commands/decidim/admin/create_scope_type.rb +3 -32
- data/app/commands/decidim/admin/create_static_page.rb +6 -47
- data/app/commands/decidim/admin/create_static_page_topic.rb +4 -26
- data/app/commands/decidim/admin/deliver_newsletter.rb +4 -5
- data/app/commands/decidim/admin/destroy_area.rb +2 -25
- data/app/commands/decidim/admin/destroy_category.rb +4 -29
- data/app/commands/decidim/admin/destroy_component.rb +5 -42
- data/app/commands/decidim/admin/destroy_newsletter.rb +2 -30
- data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +5 -32
- data/app/commands/decidim/admin/destroy_scope.rb +6 -33
- data/app/commands/decidim/admin/officialize_user.rb +1 -1
- data/app/commands/decidim/admin/participatory_space/create_admin.rb +4 -4
- data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +5 -4
- data/app/commands/decidim/admin/promote_managed_user.rb +4 -5
- data/app/commands/decidim/admin/unofficialize_user.rb +1 -1
- data/app/commands/decidim/admin/update_area.rb +2 -41
- data/app/commands/decidim/admin/update_area_type.rb +2 -42
- data/app/commands/decidim/admin/update_attachment.rb +10 -7
- data/app/commands/decidim/admin/update_attachment_collection.rb +3 -3
- data/app/commands/decidim/admin/update_category.rb +2 -45
- data/app/commands/decidim/admin/update_component.rb +4 -5
- data/app/commands/decidim/admin/update_component_permissions.rb +3 -3
- data/app/commands/decidim/admin/{update_external_domain_whitelist.rb → update_external_domain_allowlist.rb} +6 -5
- data/app/commands/decidim/admin/update_help_sections.rb +6 -3
- data/app/commands/decidim/admin/update_newsletter.rb +8 -8
- data/app/commands/decidim/admin/update_organization.rb +9 -53
- data/app/commands/decidim/admin/update_organization_appearance.rb +10 -81
- data/app/commands/decidim/admin/update_scope.rb +7 -40
- data/app/commands/decidim/admin/update_scope_type.rb +2 -42
- data/app/commands/decidim/admin/update_static_page.rb +5 -46
- data/app/commands/decidim/admin/update_static_page_topic.rb +2 -43
- data/app/constraints/decidim/admin/organization_dashboard_constraint.rb +1 -1
- data/app/controllers/concerns/decidim/admin/content_blocks/landing_page.rb +2 -2
- data/app/controllers/concerns/decidim/admin/filterable.rb +78 -3
- data/app/controllers/concerns/decidim/admin/global_moderation_context.rb +1 -1
- data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +0 -7
- data/app/controllers/concerns/decidim/admin/participatory_space_export.rb +1 -1
- data/app/controllers/decidim/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/admin/area_types_controller.rb +8 -9
- data/app/controllers/decidim/admin/areas_controller.rb +1 -1
- data/app/controllers/decidim/admin/authorization_workflows_controller.rb +3 -1
- data/app/controllers/decidim/admin/categories_controller.rb +2 -2
- data/app/controllers/decidim/admin/component_permissions_controller.rb +1 -1
- data/app/controllers/decidim/admin/components_controller.rb +2 -2
- data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +2 -2
- data/app/controllers/decidim/admin/concerns/has_attachments.rb +2 -2
- data/app/controllers/decidim/admin/concerns/has_private_users.rb +1 -1
- data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +1 -1
- data/app/controllers/decidim/admin/help_sections_controller.rb +1 -1
- data/app/controllers/decidim/admin/managed_users/promotions_controller.rb +1 -1
- data/app/controllers/decidim/admin/moderations/reports_controller.rb +4 -4
- data/app/controllers/decidim/admin/moderations_controller.rb +7 -7
- data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
- data/app/controllers/decidim/admin/newsletters_controller.rb +5 -5
- data/app/controllers/decidim/admin/organization_appearance_controller.rb +1 -1
- data/app/controllers/decidim/admin/organization_controller.rb +8 -5
- data/app/controllers/decidim/admin/{organization_external_domain_whitelist_controller.rb → organization_external_domain_allowlist_controller.rb} +7 -7
- data/app/controllers/decidim/admin/scope_types_controller.rb +7 -8
- data/app/controllers/decidim/admin/scopes_controller.rb +1 -1
- data/app/controllers/decidim/admin/share_tokens_controller.rb +1 -1
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +2 -2
- data/app/controllers/decidim/admin/static_pages_controller.rb +2 -2
- data/app/forms/decidim/admin/attachment_form.rb +7 -1
- data/app/forms/decidim/admin/organization_appearance_form.rb +0 -3
- data/app/forms/decidim/admin/{organization_external_domain_whitelist_form.rb → organization_external_domain_allowlist_form.rb} +3 -3
- data/app/forms/decidim/admin/organization_form.rb +2 -2
- data/app/forms/decidim/admin/static_page_form.rb +0 -1
- data/app/helpers/decidim/admin/filterable_helper.rb +19 -3
- data/app/helpers/decidim/admin/moderations/reports_helper.rb +3 -1
- data/app/helpers/decidim/admin/newsletters_helper.rb +3 -3
- data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +2 -2
- data/app/packs/entrypoints/decidim_admin.js +4 -1
- data/app/packs/src/decidim/admin/application.js +25 -16
- data/app/packs/src/decidim/admin/choose_language.js +2 -0
- data/app/packs/src/decidim/admin/css_preview.js +39 -0
- data/app/packs/src/decidim/admin/dynamic_fields.component.js +2 -1
- data/app/packs/src/decidim/admin/form.js +18 -1
- data/app/packs/src/decidim/admin/participatory_space_search.js +1 -1
- data/app/packs/src/decidim/admin/proposal_infinite_edit.js +2 -2
- data/app/packs/src/decidim/admin/sync_radio_buttons.js +27 -0
- data/app/packs/src/decidim/admin/text_copy.js +19 -0
- data/app/packs/stylesheets/decidim/admin/_cards.scss +1 -1
- data/app/packs/stylesheets/decidim/admin/_datepicker.scss +62 -0
- data/app/packs/stylesheets/decidim/admin/_item_edit.scss +1 -1
- data/app/packs/stylesheets/decidim/admin/_item_show.scss +8 -0
- data/app/packs/stylesheets/decidim/admin/_proposal_status.scss +5 -0
- data/app/packs/stylesheets/decidim/admin/application.scss +2 -0
- data/app/permissions/decidim/admin/permissions.rb +2 -2
- data/app/queries/decidim/admin/user_filter.rb +4 -4
- data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -1
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
- data/app/views/decidim/admin/attachments/_form.html.erb +21 -2
- data/app/views/decidim/admin/attachments/index.html.erb +2 -2
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +26 -8
- data/app/views/decidim/admin/categories/index.html.erb +2 -2
- data/app/views/decidim/admin/components/_form.html.erb +1 -1
- data/app/views/decidim/admin/dashboard/_pending_moderations.html.erb +1 -1
- data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
- data/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +3 -3
- data/app/views/decidim/admin/imports/_dropdown.html.erb +1 -1
- data/app/views/decidim/admin/imports/new.html.erb +2 -2
- data/app/views/decidim/admin/logs/_filters.html.erb +3 -3
- data/app/views/decidim/admin/managed_users/promotions/new.html.erb +1 -1
- data/app/views/decidim/admin/moderated_users/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/index.html.erb +5 -5
- data/app/views/decidim/admin/moderations/reports/index.html.erb +6 -6
- data/app/views/decidim/admin/moderations/reports/show.html.erb +4 -4
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +2 -2
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +7 -7
- data/app/views/decidim/admin/newsletters/index.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +3 -3
- data/app/views/decidim/admin/newsletters/show.html.erb +1 -1
- data/app/views/decidim/admin/organization/_form.html.erb +3 -3
- data/app/views/decidim/admin/organization_appearance/form/_colors.html.erb +0 -3
- data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +5 -5
- data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/_external_domain.html.erb +4 -4
- data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/_form.html.erb +2 -2
- data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/edit.html.erb +2 -2
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +1 -1
- data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +1 -1
- data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +1 -1
- data/app/views/decidim/admin/shared/_adjacent_navigation.html.erb +30 -0
- data/app/views/decidim/admin/shared/_admin_confirm_modal.html.erb +7 -7
- data/app/views/decidim/admin/shared/_filters.html.erb +1 -1
- data/app/views/decidim/admin/shared/_gallery.html.erb +1 -1
- data/app/views/decidim/admin/shared/_js-callout.html.erb +2 -2
- data/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/index.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/_form.html.erb +0 -4
- data/app/views/decidim/admin/users_statistics/_users_count.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_admin_timeout_modal.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_application.html.erb +4 -4
- data/app/views/layouts/decidim/admin/_callouts_full.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_js_configuration.html.erb +3 -1
- data/app/views/layouts/decidim/admin/_sidebar_menu.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_title_bar.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_title_bar_responsive.html.erb +2 -2
- data/config/locales/ar.yml +1 -7
- data/config/locales/bg.yml +1013 -11
- data/config/locales/ca.yml +18 -11
- data/config/locales/cs.yml +17 -10
- data/config/locales/de.yml +25 -18
- data/config/locales/el.yml +1 -12
- data/config/locales/en.yml +18 -11
- data/config/locales/es-MX.yml +25 -18
- data/config/locales/es-PY.yml +25 -18
- data/config/locales/es.yml +34 -27
- data/config/locales/eu.yml +18 -11
- data/config/locales/fi-plain.yml +16 -9
- data/config/locales/fi.yml +16 -9
- data/config/locales/fr-CA.yml +16 -9
- data/config/locales/fr.yml +15 -8
- data/config/locales/ga-IE.yml +1 -3
- data/config/locales/gl.yml +1 -5
- data/config/locales/hu.yml +10 -10
- data/config/locales/id-ID.yml +1 -3
- data/config/locales/is-IS.yml +1 -3
- data/config/locales/it.yml +2 -8
- data/config/locales/ja.yml +18 -11
- data/config/locales/kaa.yml +0 -3
- data/config/locales/ko.yml +0 -6
- data/config/locales/lb.yml +1 -8
- data/config/locales/lt.yml +2 -13
- data/config/locales/lv.yml +1 -3
- data/config/locales/nl.yml +1 -8
- data/config/locales/no.yml +1 -8
- data/config/locales/pl.yml +17 -9
- data/config/locales/pt-BR.yml +9 -10
- data/config/locales/pt.yml +1 -8
- data/config/locales/ro-RO.yml +1 -12
- data/config/locales/ru.yml +1 -3
- data/config/locales/sk.yml +1 -3
- data/config/locales/sl.yml +1 -0
- data/config/locales/sq-AL.yml +410 -0
- data/config/locales/sr-CS.yml +1 -3
- data/config/locales/sv.yml +1 -8
- data/config/locales/th-TH.yml +98 -0
- data/config/locales/tr-TR.yml +1 -5
- data/config/locales/uk.yml +1 -3
- data/config/locales/zh-CN.yml +1 -3
- data/config/locales/zh-TW.yml +2 -12
- data/config/routes.rb +1 -1
- data/decidim-admin.gemspec +1 -1
- data/lib/decidim/admin/import/creator.rb +1 -1
- data/lib/decidim/admin/import/importer_factory.rb +2 -2
- data/lib/decidim/admin/menu.rb +4 -4
- data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +27 -0
- data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +3 -2
- data/lib/decidim/admin/test/commands/create_category_examples.rb +4 -2
- data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +3 -2
- data/lib/decidim/admin/test/commands/update_category_examples.rb +3 -2
- data/lib/decidim/admin/test/filterable_examples.rb +5 -3
- data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +5 -5
- data/lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb +180 -0
- data/lib/decidim/admin/test/invite_participatory_space_collaborators_shared_examples.rb +67 -0
- data/lib/decidim/admin/test/invite_participatory_space_moderators_shared_examples.rb +77 -0
- data/lib/decidim/admin/test/invite_participatory_space_users_shared_context.rb +33 -0
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +24 -23
- data/lib/decidim/admin/test/manage_attachments_examples.rb +51 -15
- data/lib/decidim/admin/test/manage_categories_examples.rb +24 -21
- data/lib/decidim/admin/test/manage_component_permissions_examples.rb +5 -5
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +8 -4
- data/lib/decidim/admin/test/manage_moderations_examples.rb +21 -21
- data/lib/decidim/admin/test/manage_paginated_collection_examples.rb +3 -3
- data/lib/decidim/admin/test/manage_participatory_space_publications_examples.rb +2 -2
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +32 -27
- data/app/commands/decidim/admin/destroy_share_token.rb +0 -46
- data/app/commands/decidim/admin/destroy_static_page.rb +0 -40
- data/app/commands/decidim/admin/destroy_static_page_topic.rb +0 -40
- data/app/mailers/decidim/admin/application_mailer.rb +0 -12
- data/app/views/layouts/decidim/admin/login.html.erb +0 -19
- /data/app/packs/src/decidim/admin/{external_domain_whitelist.js → external_domain_allowlist.js} +0 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
<% adjacent_paths ||= {} %>
|
2
|
+
<div class="flex justify-between mb-4">
|
3
|
+
<span>
|
4
|
+
<% if adjacent_paths["prev_item"].present? %>
|
5
|
+
<%= link_to(
|
6
|
+
adjacent_paths["prev_item"],
|
7
|
+
class: "button button__sm button__text-secondary",
|
8
|
+
title: t("previous_title", scope: "decidim.admin.shared.adjacent_navigation"),
|
9
|
+
rel: "prev"
|
10
|
+
) do %>
|
11
|
+
<%= icon "arrow-left-s-line", class: "fill-current" %>
|
12
|
+
<%= t("previous", scope: "decidim.admin.shared.adjacent_navigation") %>
|
13
|
+
<% end %>
|
14
|
+
<% end %>
|
15
|
+
</span>
|
16
|
+
|
17
|
+
<span>
|
18
|
+
<% if adjacent_paths["next_item"].present? %>
|
19
|
+
<%= link_to(
|
20
|
+
adjacent_paths["next_item"],
|
21
|
+
class: "button button__sm button__text-secondary",
|
22
|
+
title: t("next_title", scope: "decidim.admin.shared.adjacent_navigation"),
|
23
|
+
rel: "next"
|
24
|
+
) do %>
|
25
|
+
<%= t("next", scope: "decidim.admin.shared.adjacent_navigation") %>
|
26
|
+
<%= icon "arrow-right-s-line", class: "fill-current" %>
|
27
|
+
<% end %>
|
28
|
+
<% end %>
|
29
|
+
</span>
|
30
|
+
</div>
|
@@ -1,18 +1,18 @@
|
|
1
|
-
<div class="small
|
2
|
-
<div
|
3
|
-
<h2
|
1
|
+
<div class="small" id="confirm-modal" aria-hidden="true" role="dialog" aria-labelledby="confirm-modal-title" data-reveal data-multiple-opened="true">
|
2
|
+
<div>
|
3
|
+
<h2 id="confirm-modal-title"><%= t("title", scope: "decidim.shared.confirm_modal") %></h2>
|
4
4
|
<button class="close-button" data-close aria-label="<%= t("close_modal", scope: "decidim.shared.confirm_modal") %>"
|
5
5
|
type="button">
|
6
6
|
<span aria-hidden="true">×</span>
|
7
7
|
</button>
|
8
8
|
</div>
|
9
|
-
<div
|
9
|
+
<div>
|
10
10
|
<div class="confirm-modal-content"></div>
|
11
11
|
</div>
|
12
|
-
<div class="confirm-modal-footer
|
13
|
-
<div
|
12
|
+
<div class="confirm-modal-footer">
|
13
|
+
<div>
|
14
14
|
<a class="button" role="button" href="#" data-confirm-ok aria-label="<%= t("ok", scope: "decidim.shared.confirm_modal") %>"><%= t("ok", scope: "decidim.shared.confirm_modal") %></a>
|
15
|
-
<a class="button
|
15
|
+
<a class="button" role="button" href="#" data-confirm-cancel aria-label="<%= t("cancel", scope: "decidim.shared.confirm_modal") %>"><%= t("cancel", scope: "decidim.shared.confirm_modal") %></a>
|
16
16
|
</div>
|
17
17
|
</div>
|
18
18
|
</div>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
|
23
23
|
<div class="card-section-draggable-list">
|
24
|
-
<div class="
|
24
|
+
<div class="full">
|
25
25
|
<div class="grid-x grid-margin-x card-grid">
|
26
26
|
<div class="cell">
|
27
27
|
<div class="card">
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<div class="card-section">
|
41
41
|
<h5 class="draggable-list-title"><%= inactive_content_blocks_title %></h5>
|
42
42
|
|
43
|
-
<ul class="draggable-list js-connect js-list-
|
43
|
+
<ul class="draggable-list js-connect js-list-available">
|
44
44
|
<% inactive_blocks.each do |content_block_or_manifest| %>
|
45
45
|
<%= cell resource_content_block_cell, content_block_or_manifest %>
|
46
46
|
<% end %>
|
@@ -34,10 +34,6 @@
|
|
34
34
|
<%= form.number_field :weight, label: false %>
|
35
35
|
</div>
|
36
36
|
|
37
|
-
<div class="row column">
|
38
|
-
<%= form.check_box :show_in_footer %>
|
39
|
-
</div>
|
40
|
-
|
41
37
|
<% if form.object.control_public_access? %>
|
42
38
|
<div class="row column">
|
43
39
|
<%= form.check_box :allow_public_access %>
|
@@ -7,10 +7,10 @@
|
|
7
7
|
<div class="table-scroll">
|
8
8
|
<% if result.empty? %>
|
9
9
|
<div class="table">
|
10
|
-
<p
|
10
|
+
<p><%= t(".no_users_count_statistics_yet") %></p>
|
11
11
|
</div>
|
12
12
|
<% else %>
|
13
|
-
<table class="table-list
|
13
|
+
<table class="table-list">
|
14
14
|
<thead>
|
15
15
|
<tr>
|
16
16
|
<th></th>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% if current_user && !current_user.remember_created_at %>
|
2
2
|
<% timeout_time_seconds = Decidim.config.expire_session_after.to_i %>
|
3
3
|
<% prevent_timeout_for = try(:prevent_timeout_seconds) || 0 %>
|
4
|
-
<div
|
4
|
+
<div id="timeoutModal" data-close-on-click="false" data-close-on-esc="false"
|
5
5
|
data-seconds-until-timeout-path="<%= decidim.seconds_until_timeout_path %>"
|
6
6
|
data-heartbeat-path="<%= decidim.heartbeat_path %>"
|
7
7
|
data-session-timeout="<%= timeout_time_seconds %>"
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<h2><%= t("title", scope: "layouts.decidim.timeout_modal") %></h2>
|
11
11
|
<p><%= t("body", scope: "layouts.decidim.timeout_modal", minutes: (timeout_time_seconds / 60) - 2) %></p>
|
12
12
|
|
13
|
-
<div
|
13
|
+
<div>
|
14
14
|
<%= link_to t("log_out", scope: "layouts.decidim.timeout_modal"), decidim.destroy_user_session_path, method: :delete, class: "button warning" %>
|
15
15
|
<%= link_to "", decidim.destroy_user_session_path(translation_suffix: :timed_out), method: :delete, id: "reveal-hidden-sign-out", class: "hide" %>
|
16
16
|
<%= button_to t("continue_session", scope: "layouts.decidim.timeout_modal"),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% add_decidim_page_title(t("titles.panel", scope: "decidim.admin")) %>
|
2
|
-
<% add_decidim_page_title(
|
2
|
+
<% add_decidim_page_title(current_organization_name) %>
|
3
3
|
<!doctype html>
|
4
|
-
<html class="no-js" lang="<%= I18n.locale %>">
|
4
|
+
<html class="no-js" lang="<%= I18n.locale %>" dir="<%= rtl_direction %>">
|
5
5
|
<head>
|
6
6
|
<meta charset="utf-8">
|
7
7
|
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
@@ -21,9 +21,9 @@
|
|
21
21
|
</div>
|
22
22
|
<div class="relative md:flex grow min-h-max w-full">
|
23
23
|
<div class="layout-nav">
|
24
|
-
<%= link_to decidim_admin.root_path, class: "logo hidden md:block", data: { "external-link": false }, aria: { label: t("decidim.accessibility.logo", organization:
|
24
|
+
<%= link_to decidim_admin.root_path, class: "logo hidden md:block", data: { "external-link": false }, aria: { label: t("decidim.accessibility.logo", organization: current_organization_name) } do %>
|
25
25
|
<% if current_organization.logo.present? %>
|
26
|
-
<%= image_tag current_organization.attached_uploader(:logo).path, alt:
|
26
|
+
<%= image_tag current_organization.attached_uploader(:logo).path, alt: current_organization_name %>
|
27
27
|
<% else %>
|
28
28
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 134 109">
|
29
29
|
<g fill="#fff">
|
@@ -4,7 +4,9 @@ js_configs = {
|
|
4
4
|
icons_path: Decidim.cors_enabled ? "" : asset_pack_path("media/images/remixicon.symbol.svg"),
|
5
5
|
messages: {
|
6
6
|
"selfxssWarning": t("decidim.security.selfxss_warning"),
|
7
|
-
editor: t("editor")
|
7
|
+
editor: t("editor"),
|
8
|
+
date: t("date"),
|
9
|
+
time: t("time")
|
8
10
|
}
|
9
11
|
}
|
10
12
|
character_messages = {
|
@@ -5,13 +5,13 @@
|
|
5
5
|
<div class="hidden md:block">
|
6
6
|
<%= sidebar_menu(secondary_root_menu).render %>
|
7
7
|
</div>
|
8
|
-
<button data-component="dropdown" data-target="dropdown-menu-sidebar" data-auto-close="true" data-
|
8
|
+
<button data-component="dropdown" data-target="dropdown-menu-sidebar" data-auto-close="true" data-scroll-to-menu="true">
|
9
9
|
<span><%= t("menu", scope: "decidim.admin.titles") %></span>
|
10
10
|
<%= icon "arrow-down-s-line" %>
|
11
11
|
<%= icon "arrow-up-s-line" %>
|
12
12
|
</button>
|
13
13
|
|
14
|
-
<ul id="dropdown-menu-sidebar" class="md:hidden">
|
14
|
+
<ul id="dropdown-menu-sidebar" class="md:hidden" aria-hidden="true">
|
15
15
|
<%= sidebar_menu(secondary_root_menu).render %>
|
16
16
|
</ul>
|
17
17
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="title-bar">
|
2
2
|
<div class="layout-content__container">
|
3
3
|
<span class="font-semibold text-sm">
|
4
|
-
<%=
|
4
|
+
<%= current_organization_name %>
|
5
5
|
</span>
|
6
6
|
<div class="tool-bar">
|
7
7
|
<%= link_to decidim.root_path, class: "button__site", target: "_blank", data: { "external-link": false } do %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<%= t("see_site", scope: "decidim.admin.menu") %>
|
10
10
|
<% end %>
|
11
11
|
<% if available_locales.length > 1 %>
|
12
|
-
<div class="
|
12
|
+
<div class="language-choose relative">
|
13
13
|
<%= button_tag id: "admin-menu-trigger", data: { component: "dropdown", target: "admin-dropdown-menu-language" }, class: "dropdown__trigger" do %>
|
14
14
|
<%= t("name", scope: "locale") %>
|
15
15
|
<%= icon "arrow-down-s-line" %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="layout-content__container">
|
3
3
|
<a href="#menu" class="menu-trigger"><%= icon "menu-line", class: "fill-black" %></a>
|
4
4
|
<span class="font-semibold text-sm">
|
5
|
-
<%=
|
5
|
+
<%= current_organization_name %>
|
6
6
|
</span>
|
7
7
|
<div class="tool-bar">
|
8
8
|
<%= link_to decidim.root_path, class: "button__site", target: "_blank", data: { "external-link": false } do %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<%= t("see_site", scope: "decidim.admin.menu") %>
|
11
11
|
<% end %>
|
12
12
|
<% if available_locales.length > 1 %>
|
13
|
-
<div class="
|
13
|
+
<div class="language-choose relative">
|
14
14
|
<%= button_tag id: "admin-menu-trigger-responsive", data: { component: "dropdown", target: "admin-dropdown-menu-language-responsive" }, class: "dropdown__trigger" do %>
|
15
15
|
<%= t("name", scope: "locale") %>
|
16
16
|
<%= icon "arrow-down-s-line" %>
|
data/config/locales/ar.yml
CHANGED
@@ -150,6 +150,7 @@ ar:
|
|
150
150
|
new: فئة جديدة
|
151
151
|
export: تصدير الكل
|
152
152
|
import: استيراد
|
153
|
+
manage: تدبير
|
153
154
|
newsletter:
|
154
155
|
new: رسالة إخبارية جديدة
|
155
156
|
per_page: في كل صفحة
|
@@ -288,7 +289,6 @@ ar:
|
|
288
289
|
title: تضارب التحقق
|
289
290
|
transfer:
|
290
291
|
email: البريد الإلكتروني
|
291
|
-
error: كانت هناك مشكلة في نقل المشارك الحالي إلى مشارك مُدار.
|
292
292
|
name: الإسم
|
293
293
|
reason: السبب
|
294
294
|
success: قد اكتمل النقل الحالي بنجاح.
|
@@ -363,7 +363,6 @@ ar:
|
|
363
363
|
report_count_eq: عدد التقارير يساوى
|
364
364
|
reported_id_string_or_reported_content_cont: البحث عن %{collection} بواسطة رقم-مُعرف أو بالمحتوى.
|
365
365
|
title_cont: البحث عن %{collection} بحسب العنوان.
|
366
|
-
user_name_or_user_email_cont: البحث عن %{collection} حسب الاسم أو البريد الإلكتروني.
|
367
366
|
user_name_or_user_nickname_or_user_email_cont: البحث عن %{collection} بحسب عنوان البريد الإكتروني أو الإسم أو الإسم المستعار.
|
368
367
|
state_eq:
|
369
368
|
label: الحالة
|
@@ -669,11 +668,6 @@ ar:
|
|
669
668
|
layout_appearance_title: تحرير مظهر التخطيط
|
670
669
|
preview: معاينة
|
671
670
|
omnipresent_banner_appearance_title: تحرير لافتة في كل مكان
|
672
|
-
organization_external_domain_whitelist:
|
673
|
-
edit:
|
674
|
-
update: تحديث
|
675
|
-
form:
|
676
|
-
add: إضافة إلى القائمة البيضاء
|
677
671
|
participatory_space_private_users:
|
678
672
|
create:
|
679
673
|
error: حدثت مشكلة أثناء إضافة مشارك خاص لهذه المساحة التشاركية.
|