decidim-admin 0.13.1 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/admin/application.js.es6 +3 -0
- data/app/assets/javascripts/decidim/admin/bundle.js +5 -5
- data/app/assets/javascripts/decidim/admin/bundle.js.map +1 -1
- data/app/assets/javascripts/decidim/admin/draggable-list.js.es6 +30 -0
- data/app/assets/stylesheets/decidim/admin/components/_autocomplete_select.component.scss +6 -0
- data/app/assets/stylesheets/decidim/admin/extra/_action-icon.scss +5 -0
- data/app/assets/stylesheets/decidim/admin/extra/_title_bar.scss +4 -0
- data/app/assets/stylesheets/decidim/admin/modules/_card-grid.scss +25 -0
- data/app/assets/stylesheets/decidim/admin/modules/_draggable-list.scss +27 -0
- data/app/assets/stylesheets/decidim/admin/modules/_forms.scss +8 -1
- data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +8 -0
- data/app/assets/stylesheets/decidim/admin/utils/_mixins.scss +2 -0
- data/app/cells/decidim/admin/content_block/show.erb +13 -0
- data/app/cells/decidim/admin/content_block_cell.rb +19 -0
- data/app/commands/decidim/admin/reorder_content_blocks.rb +97 -0
- data/app/commands/decidim/admin/update_component_permissions.rb +31 -11
- data/app/commands/decidim/admin/update_content_block.rb +55 -0
- data/app/commands/decidim/admin/update_organization_appearance.rb +0 -3
- data/app/controllers/decidim/admin/component_permissions_controller.rb +32 -5
- data/app/controllers/decidim/admin/components/base_controller.rb +2 -1
- data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +0 -8
- data/app/controllers/decidim/admin/concerns/has_private_users.rb +6 -10
- data/app/controllers/decidim/admin/impersonations_controller.rb +1 -0
- data/app/controllers/decidim/admin/officializations_controller.rb +1 -0
- data/app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb +64 -0
- data/app/controllers/decidim/admin/organization_homepage_controller.rb +52 -0
- data/app/forms/decidim/admin/content_block_form.rb +24 -0
- data/app/forms/decidim/admin/organization_appearance_form.rb +0 -4
- data/app/helpers/decidim/admin/resource_permissions_helper.rb +24 -0
- data/app/views/decidim/admin/component_permissions/edit.html.erb +8 -3
- data/app/views/decidim/admin/components/edit.html.erb +1 -1
- data/app/views/decidim/admin/components/new.html.erb +1 -1
- data/app/views/decidim/admin/officializations/index.html.erb +3 -2
- data/app/views/decidim/admin/organization_appearance/_form.html.erb +0 -10
- data/app/views/decidim/admin/organization_homepage/edit.html.erb +43 -0
- data/app/views/decidim/admin/organization_homepage_content_blocks/edit.html.erb +13 -0
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +3 -2
- data/app/views/layouts/decidim/admin/newsletters.erb +1 -1
- data/app/views/layouts/decidim/admin/settings.html.erb +3 -0
- data/config/locales/ca.yml +8 -30
- data/config/locales/en.yml +8 -30
- data/config/locales/es-PY.yml +8 -30
- data/config/locales/es.yml +8 -30
- data/config/locales/eu.yml +8 -30
- data/config/locales/fi.yml +128 -150
- data/config/locales/fr.yml +8 -30
- data/config/locales/gl.yml +8 -30
- data/config/locales/hu.yml +660 -0
- data/config/locales/it.yml +8 -30
- data/config/locales/nl.yml +8 -30
- data/config/locales/pl.yml +8 -30
- data/config/locales/pt-BR.yml +41 -63
- data/config/locales/pt.yml +8 -30
- data/config/locales/ru.yml +18 -43
- data/config/locales/sv.yml +38 -60
- data/config/locales/uk.yml +19 -44
- data/config/routes.rb +3 -0
- data/lib/decidim/admin/engine.rb +8 -0
- data/lib/decidim/admin/form_builder.rb +2 -1
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +1 -1
- data/lib/decidim/admin/test/manage_attachments_examples.rb +4 -4
- data/lib/decidim/admin/test/manage_component_permissions_examples.rb +192 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +31 -11
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Admin
|
5
|
+
# Controller that allows managing the organization homepage
|
6
|
+
class OrganizationHomepageController < Decidim::Admin::ApplicationController
|
7
|
+
layout "decidim/admin/settings"
|
8
|
+
|
9
|
+
helper_method :active_blocks, :inactive_blocks
|
10
|
+
|
11
|
+
def edit
|
12
|
+
enforce_permission_to :update, :organization, organization: current_organization
|
13
|
+
end
|
14
|
+
|
15
|
+
def update
|
16
|
+
enforce_permission_to :update, :organization, organization: current_organization
|
17
|
+
ReorderContentBlocks.call(current_organization, :homepage, params[:manifests]) do
|
18
|
+
on(:ok) do
|
19
|
+
head :ok
|
20
|
+
end
|
21
|
+
on(:invalid) do
|
22
|
+
head :bad_request
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def content_blocks
|
30
|
+
@content_blocks ||= Decidim::ContentBlock.for_scope(:homepage, organization: current_organization)
|
31
|
+
end
|
32
|
+
|
33
|
+
def active_blocks
|
34
|
+
@active_blocks ||= content_blocks.published
|
35
|
+
end
|
36
|
+
|
37
|
+
def inactive_blocks
|
38
|
+
@inactive_blocks ||= content_blocks.unpublished + unused_manifests
|
39
|
+
end
|
40
|
+
|
41
|
+
def used_manifests
|
42
|
+
@used_manifests ||= content_blocks.map(&:manifest_name)
|
43
|
+
end
|
44
|
+
|
45
|
+
def unused_manifests
|
46
|
+
@unused_manifests ||= Decidim.content_blocks.for(:homepage).reject do |manifest|
|
47
|
+
used_manifests.include?(manifest.name.to_s)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Admin
|
5
|
+
# A form object used to configure a content block from the admin panel.
|
6
|
+
#
|
7
|
+
class ContentBlockForm < Decidim::Form
|
8
|
+
include TranslatableAttributes
|
9
|
+
|
10
|
+
mimic :content_block
|
11
|
+
|
12
|
+
attribute :settings, Object
|
13
|
+
attribute :images, Hash
|
14
|
+
|
15
|
+
def map_model(model)
|
16
|
+
self.images = model.images_container
|
17
|
+
end
|
18
|
+
|
19
|
+
def settings?
|
20
|
+
settings.manifest.settings.any?
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -10,8 +10,6 @@ module Decidim
|
|
10
10
|
|
11
11
|
mimic :organization
|
12
12
|
|
13
|
-
attribute :homepage_image
|
14
|
-
attribute :remove_homepage_image
|
15
13
|
attribute :logo
|
16
14
|
attribute :remove_logo
|
17
15
|
attribute :favicon
|
@@ -33,7 +31,6 @@ module Decidim
|
|
33
31
|
|
34
32
|
translatable_attribute :cta_button_text, String
|
35
33
|
translatable_attribute :description, String
|
36
|
-
translatable_attribute :welcome_text, String
|
37
34
|
translatable_attribute :highlighted_content_banner_title, String
|
38
35
|
translatable_attribute :highlighted_content_banner_short_description, String
|
39
36
|
translatable_attribute :highlighted_content_banner_action_title, String
|
@@ -44,7 +41,6 @@ module Decidim
|
|
44
41
|
validates :cta_button_path, format: { with: %r{\A[a-zA-Z]+[a-zA-Z0-9\-\_/]+\z} }, allow_blank: true
|
45
42
|
validates :official_img_header,
|
46
43
|
:official_img_footer,
|
47
|
-
:homepage_image,
|
48
44
|
:logo,
|
49
45
|
file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_attachment_size } },
|
50
46
|
file_content_type: { allow: ["image/jpeg", "image/png"] }
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Admin
|
5
|
+
module ResourcePermissionsHelper
|
6
|
+
# Public: Render a link to the permissions page for the resource.
|
7
|
+
#
|
8
|
+
# resource - The resource which permissions are going to be modified
|
9
|
+
def resource_permissions_link(resource)
|
10
|
+
return unless resource.allow_resource_permissions? && allowed_to?(:update, :component, component: resource.component)
|
11
|
+
|
12
|
+
current_participatory_space_admin_proxy = ::Decidim::EngineRouter.admin_proxy(current_participatory_space)
|
13
|
+
icon_link_to "key",
|
14
|
+
current_participatory_space_admin_proxy.edit_component_permissions_path(
|
15
|
+
current_component.id,
|
16
|
+
resource_name: resource.resource_manifest.name,
|
17
|
+
resource_id: resource.id
|
18
|
+
),
|
19
|
+
t("actions.permissions", scope: "decidim.admin"),
|
20
|
+
class: "action-icon--permissions #{"action-icon--highlighted" if resource.permissions.present?}"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -1,11 +1,16 @@
|
|
1
1
|
<section id="components">
|
2
2
|
<div class="row">
|
3
3
|
<div class="columns">
|
4
|
-
<h3
|
4
|
+
<h3>
|
5
|
+
<%= t(".title") %>
|
6
|
+
<% if resource %>
|
7
|
+
-
|
8
|
+
<%= link_to(resource_title(resource), resource_locator(resource).path) %>
|
9
|
+
<% end %>
|
10
|
+
</h3>
|
5
11
|
</div>
|
6
12
|
</div>
|
7
|
-
|
8
|
-
<%= form_for @permissions_form, url: url_for(action: :update), method: "put" do |permissions_form| %>
|
13
|
+
<%= form_for @permissions_form, url: url_for(action: :update, **resource_params), method: "put" do |permissions_form| %>
|
9
14
|
<%= permissions_form.fields_for :permissions, permissions_form.object do |action_permission_form| %>
|
10
15
|
<% action_permission_form.object.permissions.each do |action, permission| %>
|
11
16
|
<fieldset class="card <%= action %>-permission">
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<%= decidim_form_for([current_participatory_space, @form], url: component_path(current_participatory_space, @component), method: "put", html: { class: "form edit_component" }) do |form| %>
|
2
|
-
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{@component.manifest.name}.name", scope: "decidim.components"))} %>
|
2
|
+
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{@component.manifest.name}.name", scope: "decidim.components")) } %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
5
5
|
<%= form.submit t(".update") %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
<%= decidim_form_for([current_participatory_space, @form], url: components_path(type: params[:type]), method: "post", html: { class: "form new_component" }) do |form| %>
|
3
|
-
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{manifest.name}.name", scope: "decidim.components"))} %>
|
3
|
+
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{manifest.name}.name", scope: "decidim.components")) } %>
|
4
4
|
|
5
5
|
<div class="button--double form-general-submit">
|
6
6
|
<%= form.submit t(".add") %>
|
@@ -55,13 +55,14 @@
|
|
55
55
|
<tbody>
|
56
56
|
<% @users.each do |user| %>
|
57
57
|
<tr data-user-id="<%= user.id %>">
|
58
|
-
<td><%= user.name %></td>
|
59
|
-
<td><%= user.nickname %></td>
|
58
|
+
<td><%= link_to user.name, decidim.profile_path(user.nickname) %></td>
|
59
|
+
<td><%= link_to user.nickname, decidim.profile_path(user.nickname) %></td>
|
60
60
|
<td><%= l user.created_at, format: :short %></td>
|
61
61
|
<td><%= user.officialized? ? t(".officialized") : t(".not_officialized") %></td>
|
62
62
|
<td><%= translated_attribute(user.officialized_as) %></td>
|
63
63
|
|
64
64
|
<td class="table-list__actions">
|
65
|
+
<%= icon_link_to "envelope-closed", current_or_new_conversation_path_with(user), t("decidim.contact"), class:"action-icon--new" %>
|
65
66
|
<% if user.officialized? %>
|
66
67
|
<%= icon "circle-check", class: "action-icon action-icon--disabled" %>
|
67
68
|
<%= icon_link_to "pencil", new_officialization_path(user_id: user.id), t(".reofficialize"), class: "action-icon--new" %>
|
@@ -13,16 +13,6 @@
|
|
13
13
|
<%= form.translated :editor, :description %>
|
14
14
|
</div>
|
15
15
|
|
16
|
-
<div class="row column">
|
17
|
-
<%= form.translated :text_area, :welcome_text %>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="row">
|
21
|
-
<div class="columns xlarge-6">
|
22
|
-
<%= form.upload :homepage_image %>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
|
26
16
|
<div class="row">
|
27
17
|
<div class="columns xlarge-6 slug">
|
28
18
|
<%= form.text_field :cta_button_path %>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<div class="grid-container full">
|
2
|
+
<div class="grid-x grid-margin-x card-grid">
|
3
|
+
<div class="cell small-6">
|
4
|
+
<div class="card">
|
5
|
+
<div class="card-section">
|
6
|
+
<p class="mb-m"><%= t(".active_content_blocks") %></p>
|
7
|
+
<ul class="draggable-list js-connect js-list-actives" data-sort-url="<%= decidim_admin.organization_homepage_path %>">
|
8
|
+
<% active_blocks.each do |content_block| %>
|
9
|
+
<%= cell "decidim/admin/content_block", content_block %>
|
10
|
+
<% end %>
|
11
|
+
</ul>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
<div class="cell small-6">
|
16
|
+
<div class="card">
|
17
|
+
<div class="card-section">
|
18
|
+
<p class="mb-m"><%= t(".inactive_content_blocks") %></p>
|
19
|
+
<ul class="draggable-list js-connect js-list-availables">
|
20
|
+
<% inactive_blocks.each do |content_block_or_manifest| %>
|
21
|
+
<%= cell "decidim/admin/content_block", content_block_or_manifest %>
|
22
|
+
<% end %>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<script>
|
31
|
+
document.addEventListener("dragend", function (event) {
|
32
|
+
var activeBlocks = Array.prototype.slice.call(document.querySelectorAll(".js-list-actives li"));
|
33
|
+
var activeBlocksManifestName = activeBlocks.map(block => block.dataset.contentBlockManifestName);
|
34
|
+
var sortUrl = document.querySelector(".js-list-actives").dataset.sortUrl;
|
35
|
+
|
36
|
+
$.ajax({
|
37
|
+
method: "PUT",
|
38
|
+
url: sortUrl,
|
39
|
+
contentType: "application/json",
|
40
|
+
data: JSON.stringify({ manifests: activeBlocksManifestName })
|
41
|
+
});
|
42
|
+
})
|
43
|
+
</script>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= decidim_form_for(@form, html: { class: "form edit_content_block" }, url: organization_homepage_content_block_path(params[:id])) do |form| %>
|
2
|
+
<div class="card">
|
3
|
+
<div class="card-divider">
|
4
|
+
<h2 class="card-title"><%= t content_block.public_name_key %></h2>
|
5
|
+
</div>
|
6
|
+
<div class="card-section">
|
7
|
+
<%= cell content_block.settings_form_cell, form, content_block: content_block %>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="button--double form-general-submit">
|
11
|
+
<%= form.submit t(".update") %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="card-section">
|
12
|
-
<% if
|
12
|
+
<% if collection.any? %>
|
13
13
|
<div class="table-scroll">
|
14
14
|
<table class="stack">
|
15
15
|
<thead>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
</tr>
|
23
23
|
</thead>
|
24
24
|
<tbody>
|
25
|
-
<%
|
25
|
+
<% collection.each do |private_user| %>
|
26
26
|
<tr>
|
27
27
|
<td>
|
28
28
|
<%= private_user.user.name %><br />
|
@@ -54,6 +54,7 @@
|
|
54
54
|
</tbody>
|
55
55
|
</table>
|
56
56
|
</div>
|
57
|
+
<%= decidim_paginate collection %>
|
57
58
|
<% end %>
|
58
59
|
</div>
|
59
60
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<%= t ".title" %>
|
5
5
|
</div>
|
6
6
|
<div class="secondary-nav__actions">
|
7
|
-
<%= link_to t("actions.new", scope: "decidim.admin", name: t("models.newsletter.name", scope: "decidim.admin")), [
|
7
|
+
<%= link_to t("actions.new", scope: "decidim.admin", name: t("models.newsletter.name", scope: "decidim.admin")), ["new", "newsletter"], class: "button expanded small new" %>
|
8
8
|
</div>
|
9
9
|
</div>
|
10
10
|
<% end %>
|
@@ -10,6 +10,9 @@
|
|
10
10
|
<li <% if is_active_link?(decidim_admin.edit_organization_appearance_path) %> class="is-active" <% end %>>
|
11
11
|
<%= link_to t("menu.appearance", scope: "decidim.admin"), decidim_admin.edit_organization_appearance_path %>
|
12
12
|
</li>
|
13
|
+
<li <% if is_active_link?(decidim_admin.edit_organization_homepage_path, /^\/admin\/organization\/homepage/) %> class="is-active" <% end %>>
|
14
|
+
<%= link_to t("menu.homepage", scope: "decidim.admin"), decidim_admin.edit_organization_homepage_path %>
|
15
|
+
</li>
|
13
16
|
<li <% if is_active_link?(decidim_admin.scopes_path) %> class="is-active" <% end %>>
|
14
17
|
<%= link_to t("menu.scopes", scope: "decidim.admin"), decidim_admin.scopes_path %>
|
15
18
|
</li>
|
data/config/locales/ca.yml
CHANGED
@@ -52,7 +52,6 @@ ca:
|
|
52
52
|
highlighted_content_banner_image: Imatge
|
53
53
|
highlighted_content_banner_short_description: Descripció breu
|
54
54
|
highlighted_content_banner_title: Títol
|
55
|
-
homepage_image: Imatge de la pàgina d'inici
|
56
55
|
instagram_handler: Nom d'usuari a Instagram
|
57
56
|
logo: Logotip
|
58
57
|
name: Nom
|
@@ -66,7 +65,6 @@ ca:
|
|
66
65
|
show_statistics: Mostra estadístiques
|
67
66
|
tos_version: Versió del Termes de Servei
|
68
67
|
twitter_handler: Nom d'usuari de Twitter
|
69
|
-
welcome_text: Text de benvinguda
|
70
68
|
youtube_handler: Nom d'usuari de YouTube
|
71
69
|
scope:
|
72
70
|
code: Codi
|
@@ -93,34 +91,6 @@ ca:
|
|
93
91
|
must_be_ssl: L'URL de redirecció ha de ser SSL
|
94
92
|
activerecord:
|
95
93
|
attributes:
|
96
|
-
decidim/participatory_process:
|
97
|
-
banner_image: Imatge de bàner
|
98
|
-
description: Descripció
|
99
|
-
developer_group: Grup promotor
|
100
|
-
domain: Àrees municipals
|
101
|
-
end_date: Data de finalització
|
102
|
-
hashtag: Hashtag
|
103
|
-
hero_image: Imatge de portada
|
104
|
-
local_area: Àrea municipal
|
105
|
-
meta_scope: 'Metadades: àmbit'
|
106
|
-
participatory_scope: Àmbit participatiu
|
107
|
-
participatory_structure: Estructura participativa
|
108
|
-
promoted: Destacat
|
109
|
-
scope: Àmbit
|
110
|
-
short_description: Descripció breu
|
111
|
-
slug: Nom curt d'URL
|
112
|
-
start_date: Data d'inici
|
113
|
-
subtitle: Subtítol
|
114
|
-
target: A qui va dirigit?
|
115
|
-
title: Títol
|
116
|
-
decidim/participatory_process_group:
|
117
|
-
description: Descripció
|
118
|
-
hero_image: Imatge de portada
|
119
|
-
name: Nom
|
120
|
-
participatory_processes: Processos participatius
|
121
|
-
decidim/participatory_process_step:
|
122
|
-
end_date: Data de finalització
|
123
|
-
start_date: Data d'inici
|
124
94
|
decidim/static_page:
|
125
95
|
content: Contingut
|
126
96
|
slug: Nom curt d'URL
|
@@ -333,6 +303,7 @@ ca:
|
|
333
303
|
areas: Àrees
|
334
304
|
configuration: Configuració
|
335
305
|
dashboard: Tauler de control
|
306
|
+
homepage: Pàgina d'inici
|
336
307
|
impersonations: Impersonacions
|
337
308
|
newsletters: Butlletins
|
338
309
|
oauth_applications: Aplicacions OAuth
|
@@ -526,6 +497,13 @@ ca:
|
|
526
497
|
homepage_highlighted_content_banner_title: Bàner de contingut ressaltat
|
527
498
|
layout_appearance_title: Edita l'aparença del disseny global
|
528
499
|
omnipresent_banner_appearance_title: Edita pancarta omnipresent
|
500
|
+
organization_homepage:
|
501
|
+
edit:
|
502
|
+
active_content_blocks: Blocs de contingut actiu
|
503
|
+
inactive_content_blocks: Blocs de contingut inactiu
|
504
|
+
organization_homepage_content_blocks:
|
505
|
+
edit:
|
506
|
+
update: Actualitza
|
529
507
|
participatory_space_private_users:
|
530
508
|
create:
|
531
509
|
error: S'ha produït un error en afegir un usuari privat a aquest espai de participació.
|
data/config/locales/en.yml
CHANGED
@@ -53,7 +53,6 @@ en:
|
|
53
53
|
highlighted_content_banner_image: Image
|
54
54
|
highlighted_content_banner_short_description: Short description
|
55
55
|
highlighted_content_banner_title: Title
|
56
|
-
homepage_image: Homepage image
|
57
56
|
instagram_handler: Instagram handler
|
58
57
|
logo: Logo
|
59
58
|
name: Name
|
@@ -67,7 +66,6 @@ en:
|
|
67
66
|
show_statistics: Show statistics
|
68
67
|
tos_version: Terms of service version
|
69
68
|
twitter_handler: Twitter handler
|
70
|
-
welcome_text: Welcome text
|
71
69
|
youtube_handler: YouTube handler
|
72
70
|
scope:
|
73
71
|
code: Code
|
@@ -94,34 +92,6 @@ en:
|
|
94
92
|
must_be_ssl: The redirect URI must be a SSL URI
|
95
93
|
activerecord:
|
96
94
|
attributes:
|
97
|
-
decidim/participatory_process:
|
98
|
-
banner_image: Banner image
|
99
|
-
description: Description
|
100
|
-
developer_group: Promoter group
|
101
|
-
domain: Domain
|
102
|
-
end_date: End date
|
103
|
-
hashtag: Hashtag
|
104
|
-
hero_image: Home image
|
105
|
-
local_area: Local area
|
106
|
-
meta_scope: Scope metadata
|
107
|
-
participatory_scope: Participatory scope
|
108
|
-
participatory_structure: Participatory structure
|
109
|
-
promoted: Promoted
|
110
|
-
scope: Scope
|
111
|
-
short_description: Short description
|
112
|
-
slug: URL slug
|
113
|
-
start_date: Start date
|
114
|
-
subtitle: Subtitle
|
115
|
-
target: Target
|
116
|
-
title: Title
|
117
|
-
decidim/participatory_process_group:
|
118
|
-
description: Description
|
119
|
-
hero_image: Home image
|
120
|
-
name: Name
|
121
|
-
participatory_processes: Participatory processes
|
122
|
-
decidim/participatory_process_step:
|
123
|
-
end_date: End date
|
124
|
-
start_date: Start date
|
125
95
|
decidim/static_page:
|
126
96
|
content: Content
|
127
97
|
slug: URL slug
|
@@ -334,6 +304,7 @@ en:
|
|
334
304
|
areas: Areas
|
335
305
|
configuration: Configuration
|
336
306
|
dashboard: Dashboard
|
307
|
+
homepage: Homepage
|
337
308
|
impersonations: Impersonations
|
338
309
|
newsletters: Newsletters
|
339
310
|
oauth_applications: OAuth applications
|
@@ -527,6 +498,13 @@ en:
|
|
527
498
|
homepage_highlighted_content_banner_title: Highligted content banner
|
528
499
|
layout_appearance_title: Edit layout appearance
|
529
500
|
omnipresent_banner_appearance_title: Edit omnipresent banner
|
501
|
+
organization_homepage:
|
502
|
+
edit:
|
503
|
+
active_content_blocks: Active content blocks
|
504
|
+
inactive_content_blocks: Inactive content blocks
|
505
|
+
organization_homepage_content_blocks:
|
506
|
+
edit:
|
507
|
+
update: Update
|
530
508
|
participatory_space_private_users:
|
531
509
|
create:
|
532
510
|
error: There was an error adding a private user for this participatory space.
|
data/config/locales/es-PY.yml
CHANGED
@@ -52,7 +52,6 @@ es-PY:
|
|
52
52
|
highlighted_content_banner_image: Imagen
|
53
53
|
highlighted_content_banner_short_description: Descripción breve
|
54
54
|
highlighted_content_banner_title: Título
|
55
|
-
homepage_image: Imagen de portada
|
56
55
|
instagram_handler: Nombre de Instagram
|
57
56
|
logo: Logo
|
58
57
|
name: Nombre
|
@@ -66,7 +65,6 @@ es-PY:
|
|
66
65
|
show_statistics: Mostrar estadísticas
|
67
66
|
tos_version: Versión de los Términos de Servicio
|
68
67
|
twitter_handler: Nombre de Twitter
|
69
|
-
welcome_text: Texto de bienvenida
|
70
68
|
youtube_handler: Nombre de YouTube
|
71
69
|
scope:
|
72
70
|
code: Código
|
@@ -93,34 +91,6 @@ es-PY:
|
|
93
91
|
must_be_ssl: El URI de redirección debe ser un URI SSL
|
94
92
|
activerecord:
|
95
93
|
attributes:
|
96
|
-
decidim/participatory_process:
|
97
|
-
banner_image: Imagen de banner
|
98
|
-
description: Descripción
|
99
|
-
developer_group: Grupo promotor
|
100
|
-
domain: Dominio
|
101
|
-
end_date: Fecha de finalización
|
102
|
-
hashtag: Hashtag
|
103
|
-
hero_image: Imagen de portada
|
104
|
-
local_area: Áreas municipales
|
105
|
-
meta_scope: 'Metadatos: ámbito'
|
106
|
-
participatory_scope: Ámbito participativo
|
107
|
-
participatory_structure: Estructura participativa
|
108
|
-
promoted: Destacado
|
109
|
-
scope: Ámbito
|
110
|
-
short_description: Descripción breve
|
111
|
-
slug: Texto corto de URL
|
112
|
-
start_date: Fecha de inicio
|
113
|
-
subtitle: Subtítulo
|
114
|
-
target: '¿A quién va dirigido?'
|
115
|
-
title: Título
|
116
|
-
decidim/participatory_process_group:
|
117
|
-
description: Descripción
|
118
|
-
hero_image: Imagen de portada
|
119
|
-
name: Nombre
|
120
|
-
participatory_processes: Procesos participativos
|
121
|
-
decidim/participatory_process_step:
|
122
|
-
end_date: Fecha de finalización
|
123
|
-
start_date: Fecha de inicio
|
124
94
|
decidim/static_page:
|
125
95
|
content: Contenido
|
126
96
|
slug: Texto corto de URL
|
@@ -333,6 +303,7 @@ es-PY:
|
|
333
303
|
areas: Áreas
|
334
304
|
configuration: Configuración
|
335
305
|
dashboard: Panel de control
|
306
|
+
homepage: Página principal
|
336
307
|
impersonations: Impersonaciones
|
337
308
|
newsletters: Boletines
|
338
309
|
oauth_applications: Aplicaciones OAuth
|
@@ -526,6 +497,13 @@ es-PY:
|
|
526
497
|
homepage_highlighted_content_banner_title: Banner de contenido resaltado
|
527
498
|
layout_appearance_title: Editar apariencia de diseño global
|
528
499
|
omnipresent_banner_appearance_title: Editar banner omnipresente
|
500
|
+
organization_homepage:
|
501
|
+
edit:
|
502
|
+
active_content_blocks: Bloques de contenido activos
|
503
|
+
inactive_content_blocks: Bloques de contenido inactivos
|
504
|
+
organization_homepage_content_blocks:
|
505
|
+
edit:
|
506
|
+
update: Actualizar
|
529
507
|
participatory_space_private_users:
|
530
508
|
create:
|
531
509
|
error: Hubo un error al agregar un usuario privado para este espacio participativo.
|
data/config/locales/es.yml
CHANGED
@@ -52,7 +52,6 @@ es:
|
|
52
52
|
highlighted_content_banner_image: Imagen
|
53
53
|
highlighted_content_banner_short_description: Descripción breve
|
54
54
|
highlighted_content_banner_title: Título
|
55
|
-
homepage_image: Imagen de portada
|
56
55
|
instagram_handler: Nombre de Instagram
|
57
56
|
logo: Logo
|
58
57
|
name: Nombre
|
@@ -66,7 +65,6 @@ es:
|
|
66
65
|
show_statistics: Mostrar estadísticas
|
67
66
|
tos_version: Versión de los Términos de Servicio
|
68
67
|
twitter_handler: Nombre de Twitter
|
69
|
-
welcome_text: Texto de bienvenida
|
70
68
|
youtube_handler: Nombre de YouTube
|
71
69
|
scope:
|
72
70
|
code: Código
|
@@ -93,34 +91,6 @@ es:
|
|
93
91
|
must_be_ssl: El URI de redirección debe ser un URI SSL
|
94
92
|
activerecord:
|
95
93
|
attributes:
|
96
|
-
decidim/participatory_process:
|
97
|
-
banner_image: Imagen de banner
|
98
|
-
description: Descripción
|
99
|
-
developer_group: Grupo promotor
|
100
|
-
domain: Dominio
|
101
|
-
end_date: Fecha de finalización
|
102
|
-
hashtag: Hashtag
|
103
|
-
hero_image: Imagen de portada
|
104
|
-
local_area: Áreas municipales
|
105
|
-
meta_scope: 'Metadatos: ámbito'
|
106
|
-
participatory_scope: Ámbito participativo
|
107
|
-
participatory_structure: Estructura participativa
|
108
|
-
promoted: Destacado
|
109
|
-
scope: Ámbito
|
110
|
-
short_description: Descripción breve
|
111
|
-
slug: Texto corto de URL
|
112
|
-
start_date: Fecha de inicio
|
113
|
-
subtitle: Subtítulo
|
114
|
-
target: '¿A quién va dirigido?'
|
115
|
-
title: Título
|
116
|
-
decidim/participatory_process_group:
|
117
|
-
description: Descripción
|
118
|
-
hero_image: Imagen de portada
|
119
|
-
name: Nombre
|
120
|
-
participatory_processes: Procesos participativos
|
121
|
-
decidim/participatory_process_step:
|
122
|
-
end_date: Fecha de finalización
|
123
|
-
start_date: Fecha de inicio
|
124
94
|
decidim/static_page:
|
125
95
|
content: Contenido
|
126
96
|
slug: Texto corto de URL
|
@@ -333,6 +303,7 @@ es:
|
|
333
303
|
areas: Áreas
|
334
304
|
configuration: Configuración
|
335
305
|
dashboard: Panel de control
|
306
|
+
homepage: Página principal
|
336
307
|
impersonations: Impersonaciones
|
337
308
|
newsletters: Boletines
|
338
309
|
oauth_applications: Aplicaciones OAuth
|
@@ -526,6 +497,13 @@ es:
|
|
526
497
|
homepage_highlighted_content_banner_title: Banner de contenido resaltado
|
527
498
|
layout_appearance_title: Editar apariencia de diseño global
|
528
499
|
omnipresent_banner_appearance_title: Editar banner omnipresente
|
500
|
+
organization_homepage:
|
501
|
+
edit:
|
502
|
+
active_content_blocks: Bloques de contenido activos
|
503
|
+
inactive_content_blocks: Bloques de contenido inactivos
|
504
|
+
organization_homepage_content_blocks:
|
505
|
+
edit:
|
506
|
+
update: Actualizar
|
529
507
|
participatory_space_private_users:
|
530
508
|
create:
|
531
509
|
error: Hubo un error al agregar un usuario privado para este espacio participativo.
|
data/config/locales/eu.yml
CHANGED
@@ -52,7 +52,6 @@ eu:
|
|
52
52
|
highlighted_content_banner_image: Image
|
53
53
|
highlighted_content_banner_short_description: Deskribapen laburra
|
54
54
|
highlighted_content_banner_title: Izenburua
|
55
|
-
homepage_image: Irudiaren irudia
|
56
55
|
instagram_handler: Instagram kudeatzailea
|
57
56
|
logo: Logotipo
|
58
57
|
name: Izena
|
@@ -66,7 +65,6 @@ eu:
|
|
66
65
|
show_statistics: Erakutsi estatistikak
|
67
66
|
tos_version: Zerbitzu-baldintzak bertsioa
|
68
67
|
twitter_handler: Twitter kudeatzailea
|
69
|
-
welcome_text: Ongietorri testua
|
70
68
|
youtube_handler: YouTube kudeatzailea
|
71
69
|
scope:
|
72
70
|
code: Kodea
|
@@ -93,34 +91,6 @@ eu:
|
|
93
91
|
must_be_ssl: Birbideratze URI SSL URI izan behar du
|
94
92
|
activerecord:
|
95
93
|
attributes:
|
96
|
-
decidim/participatory_process:
|
97
|
-
banner_image: Iragarki-bandako irudia
|
98
|
-
description: Descripción
|
99
|
-
developer_group: Sustatzailearen taldea
|
100
|
-
domain: Domeinua
|
101
|
-
end_date: Bukaera-data
|
102
|
-
hashtag: Traola
|
103
|
-
hero_image: Orri nagusiko irudia
|
104
|
-
local_area: Udal-alorrak
|
105
|
-
meta_scope: 'Metadatuak: esparrua'
|
106
|
-
participatory_scope: Partehartze esparrua
|
107
|
-
participatory_structure: Partehartze egitura
|
108
|
-
promoted: Nabarmendua
|
109
|
-
scope: Esparrua
|
110
|
-
short_description: Deskribapen laburra
|
111
|
-
slug: URL testu laburra
|
112
|
-
start_date: Hasiera-data
|
113
|
-
subtitle: Azpititulua
|
114
|
-
target: Nori zuzentzen zaio?
|
115
|
-
title: Titulua
|
116
|
-
decidim/participatory_process_group:
|
117
|
-
description: Deskribapena
|
118
|
-
hero_image: Orri nagusiko irudia
|
119
|
-
name: Izena
|
120
|
-
participatory_processes: Prozesu partizipatiboak
|
121
|
-
decidim/participatory_process_step:
|
122
|
-
end_date: Bukaera-data
|
123
|
-
start_date: Hasiera-data
|
124
94
|
decidim/static_page:
|
125
95
|
content: Contenido
|
126
96
|
slug: URL laburra
|
@@ -333,6 +303,7 @@ eu:
|
|
333
303
|
areas: Arloak
|
334
304
|
configuration: konfigurazioa
|
335
305
|
dashboard: Kontrol-panela
|
306
|
+
homepage: Hasiera
|
336
307
|
impersonations: impersonations
|
337
308
|
newsletters: Buletinak
|
338
309
|
oauth_applications: OAuth aplikazioak
|
@@ -526,6 +497,13 @@ eu:
|
|
526
497
|
homepage_highlighted_content_banner_title: Highligted edukien banner
|
527
498
|
layout_appearance_title: Editatu itxura diseinua
|
528
499
|
omnipresent_banner_appearance_title: Editatu omnipresent banner
|
500
|
+
organization_homepage:
|
501
|
+
edit:
|
502
|
+
active_content_blocks: Eduki bloke aktiboak
|
503
|
+
inactive_content_blocks: Eduki eduki gabeko blokeak
|
504
|
+
organization_homepage_content_blocks:
|
505
|
+
edit:
|
506
|
+
update: eguneratzearen
|
529
507
|
participatory_space_private_users:
|
530
508
|
create:
|
531
509
|
error: Errore bat gertatu da partaidetza espazio honen erabiltzaile pribatua gehitzean.
|