decidim-admin 0.30.8 → 0.30.9
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.
- checksums.yaml +4 -4
- data/app/controllers/decidim/admin/organization_controller.rb +0 -33
- data/app/packs/src/decidim/admin/admin_autocomplete.js +16 -10
- data/config/locales/ca-IT.yml +1 -1
- data/config/locales/eu.yml +33 -33
- data/config/locales/sk.yml +764 -0
- data/config/routes.rb +0 -5
- data/lib/decidim/admin/form_builder.rb +1 -3
- data/lib/decidim/admin/version.rb +1 -1
- metadata +8 -8
data/config/routes.rb
CHANGED
|
@@ -8,11 +8,6 @@ Decidim::Admin::Engine.routes.draw do
|
|
|
8
8
|
resources :content_blocks, only: [:edit, :update, :destroy, :create], controller: "organization_homepage_content_blocks"
|
|
9
9
|
end
|
|
10
10
|
resource :external_domain_allowlist, only: [:edit, :update], controller: "organization_external_domain_allowlist"
|
|
11
|
-
|
|
12
|
-
member do
|
|
13
|
-
get :users
|
|
14
|
-
get :user_entities
|
|
15
|
-
end
|
|
16
11
|
end
|
|
17
12
|
|
|
18
13
|
resources :static_pages do
|
|
@@ -19,7 +19,6 @@ module Decidim
|
|
|
19
19
|
# - :class (string) You can provide custom class name for the container (ex. autocomplete-field--results-inline)
|
|
20
20
|
# @param [Hash] prompt_options
|
|
21
21
|
# Prompt configuration. A hash with options:
|
|
22
|
-
# - :url (String) The url where the ajax endpoint to fill the select
|
|
23
22
|
# - :placeholder (String) Text to use as placeholder
|
|
24
23
|
# - :no_results (String) (optional) Text to use when there are no matching results (default: No results found)
|
|
25
24
|
# - :search_prompt (String) (optional) Text to prompt for search input (default: Type at least three characters to search)
|
|
@@ -30,7 +29,7 @@ module Decidim
|
|
|
30
29
|
# - label: This will be the label of the option select.
|
|
31
30
|
#
|
|
32
31
|
# @example How to use it
|
|
33
|
-
# <% prompt_options = {
|
|
32
|
+
# <% prompt_options = { placeholder: t(".select_user") }
|
|
34
33
|
# options = { label: t(".user") } %>
|
|
35
34
|
# <%= form.autocomplete_select(:user_id, form.object.user.presence, options, prompt_options) do |user|
|
|
36
35
|
# { value: user.id, label: "#{user.name} (#{user.nickname})" }
|
|
@@ -48,7 +47,6 @@ module Decidim
|
|
|
48
47
|
name: options[:name] || "#{@object_name}[#{attribute}]",
|
|
49
48
|
options: (options[:default_options].to_a + [selected]).compact,
|
|
50
49
|
placeholder: prompt_options[:placeholder],
|
|
51
|
-
searchURL: prompt_options[:url],
|
|
52
50
|
changeURL: prompt_options[:change_url],
|
|
53
51
|
selected: selected ? selected[:value] : "",
|
|
54
52
|
searchPromptText: options[:search_prompt] || I18n.t("autocomplete.search_prompt", scope: "decidim.admin"),
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.30.
|
|
4
|
+
version: 0.30.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josep Jaume Rey Peroy
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2026-
|
|
13
|
+
date: 2026-05-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: active_link_to
|
|
@@ -32,14 +32,14 @@ dependencies:
|
|
|
32
32
|
requirements:
|
|
33
33
|
- - '='
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
|
-
version: 0.30.
|
|
35
|
+
version: 0.30.9
|
|
36
36
|
type: :runtime
|
|
37
37
|
prerelease: false
|
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
|
40
40
|
- - '='
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 0.30.
|
|
42
|
+
version: 0.30.9
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: devise
|
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,28 +94,28 @@ dependencies:
|
|
|
94
94
|
requirements:
|
|
95
95
|
- - '='
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: 0.30.
|
|
97
|
+
version: 0.30.9
|
|
98
98
|
type: :development
|
|
99
99
|
prerelease: false
|
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - '='
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: 0.30.
|
|
104
|
+
version: 0.30.9
|
|
105
105
|
- !ruby/object:Gem::Dependency
|
|
106
106
|
name: decidim-participatory_processes
|
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
109
|
- - '='
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: 0.30.
|
|
111
|
+
version: 0.30.9
|
|
112
112
|
type: :development
|
|
113
113
|
prerelease: false
|
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
|
115
115
|
requirements:
|
|
116
116
|
- - '='
|
|
117
117
|
- !ruby/object:Gem::Version
|
|
118
|
-
version: 0.30.
|
|
118
|
+
version: 0.30.9
|
|
119
119
|
description: Organization administration to manage a single organization.
|
|
120
120
|
email:
|
|
121
121
|
- josepjaume@gmail.com
|