decidim-admin 0.28.0 → 0.28.2
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 +1 -1
- data/app/commands/decidim/admin/destroy_category.rb +1 -1
- data/app/controllers/decidim/admin/application_controller.rb +2 -1
- data/app/controllers/decidim/admin/area_types_controller.rb +1 -1
- data/app/controllers/decidim/admin/authorization_workflows_controller.rb +5 -1
- data/app/controllers/decidim/admin/conflicts_controller.rb +23 -0
- data/app/controllers/decidim/admin/impersonatable_users_controller.rb +3 -1
- data/app/controllers/decidim/admin/impersonations_controller.rb +1 -0
- data/app/controllers/decidim/admin/managed_users/impersonation_logs_controller.rb +2 -0
- data/app/controllers/decidim/admin/moderated_users_controller.rb +10 -0
- data/app/controllers/decidim/admin/moderations_controller.rb +10 -0
- data/app/controllers/decidim/admin/officializations_controller.rb +2 -0
- data/app/controllers/decidim/admin/organization_controller.rb +7 -4
- data/app/controllers/decidim/admin/scope_types_controller.rb +1 -1
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +10 -0
- data/app/controllers/decidim/admin/user_groups_controller.rb +2 -0
- data/app/controllers/decidim/admin/users_controller.rb +2 -0
- data/app/events/decidim/resource_hidden_event.rb +5 -1
- data/app/helpers/decidim/admin/admin_terms_helper.rb +1 -1
- data/app/helpers/decidim/admin/filterable_helper.rb +1 -1
- data/app/packs/entrypoints/decidim_admin_overrides.scss +2 -0
- data/app/packs/images/decidim/admin/.keep +0 -0
- data/app/packs/src/decidim/admin/application.js +14 -1
- data/app/packs/src/decidim/admin/choose_language.js +2 -0
- data/app/packs/src/decidim/admin/dynamic_fields.component.js +2 -1
- data/app/packs/src/decidim/admin/participatory_space_search.js +1 -1
- data/app/packs/stylesheets/decidim/admin/_filters.scss +1 -1
- data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +10 -0
- data/app/packs/stylesheets/decidim/admin/_sidebar-menu.scss +4 -4
- data/app/packs/stylesheets/decidim/admin/_tabs.scss +6 -0
- data/app/packs/stylesheets/decidim/admin/decidim_application.scss +5 -0
- data/app/views/decidim/admin/admin_terms/show.html.erb +2 -2
- data/app/views/decidim/admin/area_types/edit.html.erb +2 -2
- data/app/views/decidim/admin/area_types/index.html.erb +2 -2
- data/app/views/decidim/admin/area_types/new.html.erb +2 -2
- data/app/views/decidim/admin/areas/edit.html.erb +2 -2
- data/app/views/decidim/admin/areas/index.html.erb +2 -2
- data/app/views/decidim/admin/areas/new.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/edit.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/index.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/new.html.erb +2 -2
- data/app/views/decidim/admin/attachments/edit.html.erb +2 -2
- data/app/views/decidim/admin/attachments/index.html.erb +2 -2
- data/app/views/decidim/admin/attachments/new.html.erb +2 -2
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +2 -2
- data/app/views/decidim/admin/block_user/new.html.erb +3 -4
- data/app/views/decidim/admin/categories/edit.html.erb +2 -2
- data/app/views/decidim/admin/categories/index.html.erb +7 -3
- data/app/views/decidim/admin/categories/new.html.erb +2 -2
- data/app/views/decidim/admin/components/edit.html.erb +2 -2
- data/app/views/decidim/admin/components/index.html.erb +2 -2
- data/app/views/decidim/admin/components/new.html.erb +2 -2
- data/app/views/decidim/admin/conflicts/index.html.erb +2 -2
- data/app/views/decidim/admin/dashboard/show.html.erb +2 -2
- data/app/views/decidim/admin/help_sections/_form.html.erb +2 -2
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +2 -2
- data/app/views/decidim/admin/impersonations/new.html.erb +2 -2
- data/app/views/decidim/admin/imports/new.html.erb +2 -2
- data/app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb +2 -2
- data/app/views/decidim/admin/managed_users/promotions/new.html.erb +2 -2
- data/app/views/decidim/admin/moderated_users/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/reports/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/reports/show.html.erb +2 -2
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +5 -6
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +16 -12
- data/app/views/decidim/admin/newsletters/edit.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/index.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/new.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +13 -9
- data/app/views/decidim/admin/newsletters/show.html.erb +29 -26
- data/app/views/decidim/admin/officializations/index.html.erb +1 -1
- data/app/views/decidim/admin/officializations/new.html.erb +2 -2
- data/app/views/decidim/admin/organization/_form.html.erb +5 -3
- data/app/views/decidim/admin/organization/edit.html.erb +2 -2
- data/app/views/decidim/admin/organization_appearance/edit.html.erb +2 -2
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +2 -2
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +2 -2
- data/app/views/decidim/admin/participatory_space_private_users/new.html.erb +2 -2
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/edit.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/index.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/new.html.erb +2 -2
- data/app/views/decidim/admin/scopes/edit.html.erb +2 -2
- data/app/views/decidim/admin/scopes/index.html.erb +2 -2
- data/app/views/decidim/admin/scopes/new.html.erb +2 -2
- data/app/views/decidim/admin/shared/_filters.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/shared/landing_page_content_blocks/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/index.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/new.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/index.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/new.html.erb +2 -2
- data/app/views/decidim/admin/user_groups/index.html.erb +2 -2
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +2 -2
- data/app/views/decidim/admin/users/index.html.erb +2 -2
- data/app/views/decidim/admin/users/new.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_breadcrumb.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_header.html.erb +4 -0
- data/app/views/layouts/decidim/admin/_js_configuration.html.erb +1 -0
- data/app/views/layouts/decidim/admin/_sidebar_menu.html.erb +2 -2
- data/config/assets.rb +1 -0
- data/config/locales/ar.yml +11 -8
- data/config/locales/bg.yml +1025 -3
- data/config/locales/ca.yml +4 -1
- data/config/locales/cs.yml +6 -8
- data/config/locales/de.yml +15 -12
- data/config/locales/el.yml +2 -12
- data/config/locales/en.yml +4 -1
- data/config/locales/es-MX.yml +11 -8
- data/config/locales/es-PY.yml +11 -8
- data/config/locales/es.yml +20 -17
- data/config/locales/eu.yml +8 -5
- data/config/locales/fi-plain.yml +4 -1
- data/config/locales/fi.yml +6 -3
- data/config/locales/fr-CA.yml +5 -2
- data/config/locales/fr.yml +4 -1
- data/config/locales/ga-IE.yml +2 -4
- data/config/locales/gl.yml +8 -7
- data/config/locales/he-IL.yml +50 -0
- data/config/locales/hu.yml +36 -6
- data/config/locales/id-ID.yml +5 -0
- data/config/locales/is-IS.yml +5 -0
- data/config/locales/it.yml +8 -9
- data/config/locales/ja.yml +8 -4
- data/config/locales/ko.yml +774 -0
- data/config/locales/lb.yml +8 -10
- data/config/locales/lt.yml +3 -14
- data/config/locales/lv.yml +8 -0
- data/config/locales/nl.yml +7 -9
- data/config/locales/no.yml +20 -9
- data/config/locales/pl.yml +74 -4
- data/config/locales/pt-BR.yml +50 -12
- data/config/locales/pt.yml +8 -10
- data/config/locales/ro-RO.yml +2 -13
- data/config/locales/ru.yml +5 -0
- data/config/locales/sk.yml +5 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/sq-AL.yml +490 -0
- data/config/locales/sr-CS.yml +5 -0
- data/config/locales/sv.yml +7 -9
- data/config/locales/th-TH.yml +101 -0
- data/config/locales/tr-TR.yml +11 -0
- data/config/locales/uk.yml +5 -0
- data/config/locales/zh-CN.yml +5 -0
- data/config/locales/zh-TW.yml +3 -11
- data/decidim-admin.gemspec +43 -0
- data/lib/decidim/admin/engine.rb +1 -25
- data/lib/decidim/admin/menu.rb +13 -4
- data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +27 -0
- data/lib/decidim/admin/test/commands/destroy_category_examples.rb +9 -0
- 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 +12 -11
- data/lib/decidim/admin/test/manage_categories_examples.rb +11 -8
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +4 -0
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +20 -13
- data/app/mailers/decidim/admin/application_mailer.rb +0 -12
- data/config/environment.rb +0 -3
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
<section id="components">
|
4
4
|
<div class="item_show__header">
|
5
|
-
<
|
5
|
+
<h1 class="item_show__header-title">
|
6
6
|
<%= t(".title") %>
|
7
|
-
</
|
7
|
+
</h1>
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<%= form_for @permissions_form, url: url_for(action: :update, **resource_params), html: { class: "form form-defaults" }, method: "put" do |permissions_form| %>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit-form">
|
8
8
|
<%= decidim_form_for(@form, html: { class: "form-defaults form scope_types_edit" }) do |f| %>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<% add_decidim_page_title(t("decidim.admin.titles.scope_types")) %>
|
2
2
|
<div class="card" id="scope-types">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t "decidim.admin.titles.scope_types" %>
|
6
6
|
|
7
7
|
<% if allowed_to? :create, :scope_type %>
|
8
8
|
<%= link_to t("actions.add", scope: "decidim.admin"), [:new, :scope_type], class: "button button__sm button__secondary new" %>
|
9
9
|
<% end %>
|
10
|
-
</
|
10
|
+
</h1>
|
11
11
|
</div>
|
12
12
|
<div class="table-scroll">
|
13
13
|
<table class="table-list">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit-form">
|
8
8
|
<%= decidim_form_for(@form, html: { class: "form-defaults form scope_types_new" }) do |f| %>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit-form">
|
8
8
|
<%= decidim_form_for(@form, html: { class: "form-defaults form edit_scope" }) do |f| %>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<% add_decidim_page_title(t("decidim.admin.titles.scopes")) %>
|
2
2
|
<div class="card">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<% if parent_scope %>
|
6
6
|
<%= scope_breadcrumbs(parent_scope).join(" - ").html_safe %> <%= link_to t("actions.add", scope: "decidim.admin"), new_scope_scope_path(parent_scope), class: "button button__sm button__secondary" if allowed_to? :create, :scope %><%= link_to t("actions.edit", scope: "decidim.admin"), edit_scope_path(parent_scope), class: "button button__sm button__secondary" if allowed_to? :edit, :scope, scope: parent_scope %>
|
7
7
|
<% else %>
|
8
8
|
<%= t "decidim.admin.titles.scopes" %> <%= link_to t("actions.add", scope: "decidim.admin"), new_scope_path, class: "button button__sm button__secondary" if allowed_to? :create, :scope %>
|
9
9
|
<% end %>
|
10
|
-
</
|
10
|
+
</h1>
|
11
11
|
</div>
|
12
12
|
<% if @scopes.any? %>
|
13
13
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit-form">
|
8
8
|
<%= decidim_form_for(@form, url: current_scopes_path, html: { class: " form form-defaults new_scope" }) do |f| %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="fcell">
|
3
3
|
<ul class="dropdown menu" data-dropdown-menu data-close-on-click-inside="false">
|
4
4
|
<li>
|
5
|
-
<a href="#" class="dropdown button">
|
5
|
+
<a href="#" class="dropdown button button__sm button__secondary">
|
6
6
|
<%= t("filter_label", scope: "decidim.admin.filters") %>
|
7
7
|
<%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %>
|
8
8
|
</a>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% add_decidim_page_title(t("edit_landing_page", scope: "decidim.admin.titles")) %>
|
2
2
|
<div class="card edit_content_blocks">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= content_blocks_title %>
|
6
6
|
|
7
7
|
<div>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
</ul>
|
18
18
|
</div>
|
19
19
|
</div>
|
20
|
-
</
|
20
|
+
</h1>
|
21
21
|
</div>
|
22
22
|
|
23
23
|
<div class="card-section-draggable-list">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(content_block.public_name_key)) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t content_block.public_name_key %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
<div class="card" id="page_topics">
|
4
4
|
<div class="item_show__header">
|
5
|
-
<
|
5
|
+
<h1 class="item_show__header-title">
|
6
6
|
<%= t("page_topics", scope: "decidim.admin.titles") %>
|
7
7
|
<% if allowed_to? :create, :attachment_collection %>
|
8
8
|
<%= link_to t("static_page_topics.new.create", scope: "decidim.admin"), [:new, :static_page_topic], class: "button button__sm button__secondary expanded small new" %>
|
9
9
|
<% end %>
|
10
|
-
</
|
10
|
+
</h1>
|
11
11
|
</div>
|
12
12
|
<% if topics.any? %>
|
13
13
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title t(".title") %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<% add_decidim_page_title(t("pages", scope: "decidim.admin.titles")) %>
|
2
2
|
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t("pages", scope: "decidim.admin.titles") %>
|
6
6
|
<% if allowed_to? :create, :static_page %>
|
7
7
|
<%= link_to t("static_pages.new.create", scope: "decidim.admin"), [:new, :static_page], class: "button button__sm button__secondary expanded small new" %>
|
8
8
|
<% end %>
|
9
|
-
</
|
9
|
+
</h1>
|
10
10
|
</div>
|
11
11
|
|
12
12
|
<% @topics.each do |topic| %>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<% add_decidim_page_title(t("decidim.admin.titles.user_groups")) %>
|
2
2
|
<div class="card" id="user-groups">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t "decidim.admin.titles.user_groups" %>
|
6
6
|
<%= link_to t(".verify_via_csv"), new_user_groups_csv_verification_path, class: "button button__sm button__secondary" %>
|
7
|
-
</
|
7
|
+
</h1>
|
8
8
|
</div>
|
9
9
|
<%= admin_filter_selector %>
|
10
10
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<% add_decidim_page_title(t("decidim.admin.titles.users")) %>
|
2
2
|
<div class="card">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t "decidim.admin.titles.users" %>
|
6
6
|
<% if allowed_to? :create, :admin_user %>
|
7
7
|
<%= link_to t("actions.user.new", scope: "decidim.admin"), [:new, :user], class: "button button__sm button__secondary" %>
|
8
8
|
<% end %>
|
9
|
-
</
|
9
|
+
</h1>
|
10
10
|
</div>
|
11
11
|
<%= admin_filter_selector %>
|
12
12
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t ".title" %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
<% breadcrumb_items(:admin).each_with_index do |item, i| %>
|
10
10
|
<span class="text-white">/</span>
|
11
|
-
<% item_label =
|
11
|
+
<% item_label = translated_attribute(item[:label]) %>
|
12
12
|
<% if item[:url].present? && !is_active_link?(item[:url], :exclusive) %>
|
13
13
|
<%= link_to(item_label, item[:url], class: "process-title-content-breadcrumb", data: { "external-link": false }, "aria-current": (item[:active] ? "page" : nil)) %>
|
14
14
|
<% else %>
|
@@ -1,5 +1,9 @@
|
|
1
1
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2
2
|
<%= csrf_meta_tags %>
|
3
|
+
<%= legacy_favicon %>
|
4
|
+
<%= favicon %>
|
5
|
+
<%= apple_favicon %>
|
6
|
+
<%= append_stylesheet_pack_tag "decidim_admin_overrides", media: "all" %>
|
3
7
|
<%= stylesheet_pack_tag "decidim_core", "decidim_admin", media: "all" %>
|
4
8
|
<%= javascript_pack_tag "decidim_core", "decidim_admin", defer: false %>
|
5
9
|
<%= snippets.display(:head) %>
|
@@ -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>
|
data/config/assets.rb
CHANGED
@@ -4,5 +4,6 @@ base_path = File.expand_path("..", __dir__)
|
|
4
4
|
|
5
5
|
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
6
6
|
Decidim::Webpacker.register_entrypoints(
|
7
|
+
decidim_admin_overrides: "#{base_path}/app/packs/entrypoints/decidim_admin_overrides.scss",
|
7
8
|
decidim_admin: "#{base_path}/app/packs/entrypoints/decidim_admin.js"
|
8
9
|
)
|
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: في كل صفحة
|
@@ -298,9 +299,6 @@ ar:
|
|
298
299
|
dashboard:
|
299
300
|
show:
|
300
301
|
view_more_logs: عرض المزيد من السجلات
|
301
|
-
domain_whitelist:
|
302
|
-
form:
|
303
|
-
domain_too_short: نطاق الدومين قصير جداً
|
304
302
|
exports:
|
305
303
|
export_as: "%{name} ك %{export_format}"
|
306
304
|
formats:
|
@@ -453,11 +451,13 @@ ar:
|
|
453
451
|
help_sections: أقسام المساعدة
|
454
452
|
homepage: الصفحة الرئيسية
|
455
453
|
impersonations: التقليد
|
454
|
+
manage: تدبير
|
456
455
|
newsletters: الرسائل الإخبارية
|
457
456
|
participants: المشاركون
|
458
457
|
scope_types: أنواع المجال
|
459
458
|
scopes: مجالات
|
460
459
|
settings: الإعدادات
|
460
|
+
static_page_topics: المواضيع
|
461
461
|
static_pages: صفحات
|
462
462
|
user_groups: المجموعات
|
463
463
|
users: المشاركون
|
@@ -673,11 +673,6 @@ ar:
|
|
673
673
|
organization_external_domain_whitelist:
|
674
674
|
edit:
|
675
675
|
update: تحديث
|
676
|
-
external_domain:
|
677
|
-
down: أسفل
|
678
|
-
external_domain: نطاق خارجي
|
679
|
-
remove: إزالة
|
680
|
-
up: أعلى
|
681
676
|
form:
|
682
677
|
add: إضافة إلى القائمة البيضاء
|
683
678
|
participatory_space_private_users:
|
@@ -791,8 +786,10 @@ ar:
|
|
791
786
|
areas: المناطق
|
792
787
|
authorization_workflows: طرق التحقق
|
793
788
|
dashboard: لوحة القيادة
|
789
|
+
edit_organization_appearance: تعديل مظهر الصفحة الرئيسية
|
794
790
|
impersonatable_users: المشاركون في الإدارة
|
795
791
|
impersonations: إدارة المشاركين
|
792
|
+
menu: القائمة الرئيسية
|
796
793
|
pages: الصفحات
|
797
794
|
panel: مدير
|
798
795
|
participants: المشاركين
|
@@ -876,6 +873,7 @@ ar:
|
|
876
873
|
participatory_space: الفضاء التشاركي
|
877
874
|
reportable_type: النوع
|
878
875
|
reported_content_url: تم الإبلاغ عن عنوان URL للمحتوى
|
876
|
+
reports: السبب
|
879
877
|
visit_url: زيارة العنوان الشبكي
|
880
878
|
report:
|
881
879
|
fields:
|
@@ -885,3 +883,8 @@ ar:
|
|
885
883
|
errors:
|
886
884
|
messages:
|
887
885
|
invalid_json: JSON غير صالح
|
886
|
+
layouts:
|
887
|
+
decidim:
|
888
|
+
admin:
|
889
|
+
global_moderations:
|
890
|
+
title: مُشرف عام
|