decidim-admin 0.29.0.rc1 → 0.29.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/decidim/admin/components/index.html.erb +5 -1
- data/app/views/decidim/admin/exports/_dropdown.html.erb +5 -5
- data/app/views/decidim/admin/imports/_dropdown.html.erb +6 -4
- data/app/views/decidim/admin/imports/new.html.erb +5 -4
- data/lib/decidim/admin/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3755945bdc10745894992e7421e07e21b4e26dbec55a3a1abff2b1994179d65d
|
4
|
+
data.tar.gz: 93285a182323d16be1c639b99f5fc5ccf495bdce8cb047531c5eb5f5021bb712
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2eabc789e1c41eb8696e7b05420bbf7211a28ffb7cc6492fe41aedf6da6f7ea126ff5ce014ad86eed98b2aa2cc753effa1ebfb1763967d909576a66dfaf0212
|
7
|
+
data.tar.gz: 4cb4075884fbe8c7e9c2b88de2d5a0218058f749844af0a7107d7e508b394235d914a4455f3f2a5ce1b577434a2e020cd43d4b01bbfca34761063596ad887b57
|
@@ -14,8 +14,12 @@
|
|
14
14
|
<div class="dropdown-pane" id="add-component-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
|
15
15
|
<ul class="vertical menu add-components font-normal">
|
16
16
|
<% @manifests.each do |manifest| %>
|
17
|
-
|
17
|
+
<%= link_to new_component_path(type: manifest.name), class: manifest.name do %>
|
18
|
+
<li>
|
19
|
+
<%= t("#{manifest.name}.name", scope: "decidim.components") %>
|
20
|
+
</li>
|
18
21
|
<% end %>
|
22
|
+
<% end %>
|
19
23
|
</ul>
|
20
24
|
</div>
|
21
25
|
</div>
|
@@ -10,11 +10,11 @@
|
|
10
10
|
<ul class="vertical menu add-components">
|
11
11
|
<% component.manifest.export_manifests.each do |manifest| %>
|
12
12
|
<% manifest.formats.each do |format| %>
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
<%= link_to exports_path(component, id: manifest.name, format:, resource_id:, filters:), method: :post do %>
|
14
|
+
<li class="exports--format--<%= format.downcase %> exports--<%= manifest.name %>">
|
15
|
+
<%= t("decidim.admin.exports.export_as", name: t("decidim.#{component.manifest.name}.admin.exports.#{manifest.name}"), export_format: t("decidim.admin.exports.formats.#{format}")) %>
|
16
|
+
</li>
|
17
|
+
<% end %>
|
18
18
|
<% end %>
|
19
19
|
<% end %>
|
20
20
|
</ul>
|
@@ -7,10 +7,12 @@
|
|
7
7
|
<% if custom %>
|
8
8
|
<%= yield %>
|
9
9
|
<% else %>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
<% component.manifest.import_manifests.each do |import_manifest| %>
|
11
|
+
<%= link_to admin_imports_path(component, resource_id:, name: import_manifest.name) do %>
|
12
|
+
<li class="imports--file imports--<%= import_manifest.name %>">
|
13
|
+
<%= import_manifest.message(:label, self) %>
|
14
|
+
</li>
|
15
|
+
<% end %>
|
14
16
|
<% end %>
|
15
17
|
<% end %>
|
16
18
|
</ul>
|
@@ -12,10 +12,11 @@
|
|
12
12
|
<div class="dropdown-pane" id="example-dropdown" data-dropdown data-position=bottom data-alignment=right data-auto-focus="true" data-close-on-click="true">
|
13
13
|
<ul class="vertical menu add-components">
|
14
14
|
<% mime_types.each do |format, name| %>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
<%= link_to admin_imports_example_path(@current_component, name: import_manifest.name, format:) do %>
|
16
|
+
<li class="examples--format--<%= format.downcase %> examples--<%= import_manifest.name %>">
|
17
|
+
<%= t(".download_example_format", name:) %>
|
18
|
+
</li>
|
19
|
+
<% end %>
|
19
20
|
<% end %>
|
20
21
|
</ul>
|
21
22
|
</div>
|
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.29.0.
|
4
|
+
version: 0.29.0.rc3
|
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: 2024-07-
|
13
|
+
date: 2024-07-22 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.29.0.
|
35
|
+
version: 0.29.0.rc3
|
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.29.0.
|
42
|
+
version: 0.29.0.rc3
|
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.29.0.
|
97
|
+
version: 0.29.0.rc3
|
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.29.0.
|
104
|
+
version: 0.29.0.rc3
|
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.29.0.
|
111
|
+
version: 0.29.0.rc3
|
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.29.0.
|
118
|
+
version: 0.29.0.rc3
|
119
119
|
description: Organization administration to manage a single organization.
|
120
120
|
email:
|
121
121
|
- josepjaume@gmail.com
|