decidim-admin 0.24.1 → 0.24.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/views/decidim/admin/area_types/index.html.erb +2 -2
- data/app/views/decidim/admin/areas/index.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/index.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +1 -1
- data/app/views/decidim/admin/newsletters/show.html.erb +1 -1
- data/app/views/decidim/admin/scopes/index.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/_topic.html.erb +3 -3
- data/app/views/decidim/admin/users/index.html.erb +2 -2
- data/app/views/layouts/decidim/admin/newsletters.erb +1 -1
- data/app/views/layouts/decidim/admin/pages.html.erb +2 -2
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr-CA.yml +7 -0
- data/config/locales/fr.yml +7 -0
- data/config/locales/ja.yml +13 -0
- 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: 0d964861ff78ef0a956d28c6e56ae778893f6c17918a5e52d3881490ac413a55
|
4
|
+
data.tar.gz: 7be4c768abf5694ff384c95be6ff23e919f2486cdb12499159982d919aa8edbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff801f470735e63aa63ac202e9623092951450c3c6b96907354c81919f59bff57b1c3fc61c2a8729ccf1d4cf1faa19cc02a573f65dbd71d45fc7a675cd3047c
|
7
|
+
data.tar.gz: c22f07ff41a9bd1ffab2af8c7a08ed2378c948c36b768259c9889266e28c71ba903b37a836e38c8293b0d1834a075216791930c7e3d8696df4d34a73b406ca78
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<h2 class="card-title">
|
4
4
|
<%= t "decidim.admin.titles.area_types" %>
|
5
5
|
<% if allowed_to? :create, :area_type %>
|
6
|
-
<%= link_to t("actions.add", scope: "decidim.admin"), [
|
6
|
+
<%= link_to t("actions.add", scope: "decidim.admin"), [:new, :area_type], class: "button tiny button--title new" %>
|
7
7
|
<% end %>
|
8
8
|
</h2>
|
9
9
|
</div>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</td>
|
29
29
|
<td class="table-list__actions">
|
30
30
|
<% if allowed_to? :update, :area_type, area_type: area_type %>
|
31
|
-
<%= icon_link_to "pencil", [
|
31
|
+
<%= icon_link_to "pencil", [:edit, area_type], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit", method: :get, data: {} %>
|
32
32
|
<% end %>
|
33
33
|
|
34
34
|
<% if allowed_to? :destroy, :area_type, area_type: area_type %>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
</td>
|
30
30
|
<td class="table-list__actions">
|
31
31
|
<% if allowed_to? :update, :area, area: area %>
|
32
|
-
<%= icon_link_to "pencil", [
|
32
|
+
<%= icon_link_to "pencil", [:edit, area], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit", method: :get, data: {} %>
|
33
33
|
<% end %>
|
34
34
|
|
35
35
|
<% if allowed_to? :destroy, :area, area: area %>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<strong class="subscribed_title"><%= t("newsletters.index.subscribed_count", scope: "decidim.admin") %></strong>
|
9
9
|
<span class="subscribed_count"><%= recipients_count_query %></span>
|
10
10
|
<% if allowed_to? :create, :newsletter %>
|
11
|
-
<%= link_to t("actions.newsletter.new", scope: "decidim.admin"), [
|
11
|
+
<%= link_to t("actions.newsletter.new", scope: "decidim.admin"), [:newsletter_templates], class: "button tiny button--title new" %>
|
12
12
|
<% end %>
|
13
13
|
</div>
|
14
14
|
</div>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
|
66
66
|
<div class="button--double form-general-submit">
|
67
67
|
<% if allowed_to?(:update, :newsletter, newsletter: @newsletter) && !@newsletter.sent? %>
|
68
|
-
<%= link_to t("actions.edit", scope: "decidim.admin"), [
|
68
|
+
<%= link_to t("actions.edit", scope: "decidim.admin"), [:edit, @newsletter], class: "button" %>
|
69
69
|
<% end %>
|
70
70
|
<% unless @newsletter.sent? %>
|
71
71
|
<%= f.submit t(".deliver"), class: "button alert", data: { confirm: t(".confirm_deliver") } %>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<div class="button--double form-general-submit">
|
18
18
|
<% if allowed_to?(:update, :newsletter, newsletter: @newsletter) %>
|
19
19
|
<% if !@newsletter.sent? %>
|
20
|
-
<%= link_to t("actions.edit", scope: "decidim.admin"), [
|
20
|
+
<%= link_to t("actions.edit", scope: "decidim.admin"), [:edit, @newsletter], class: "button" %>
|
21
21
|
<% end %>
|
22
22
|
<% unless @newsletter.sent? %>
|
23
23
|
<%= link_to t(".select_recipients_to_deliver"), select_recipients_to_deliver_newsletter_path(@newsletter), class: "button alert" %>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<%= icon_link_to "zoom-in", scope_scopes_path(scope), t("actions.browse", scope: "decidim.admin"), class: "action-icon--browse", method: :get, data: {} %>
|
33
33
|
|
34
34
|
<% if allowed_to? :update, :scope, scope: scope %>
|
35
|
-
<%= icon_link_to "pencil", [
|
35
|
+
<%= icon_link_to "pencil", [:edit, scope], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit", method: :get, data: {} %>
|
36
36
|
<% end %>
|
37
37
|
|
38
38
|
<% if allowed_to? :destroy, :scope, scope: scope %>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<% if topic %>
|
6
6
|
<%= translated_attribute(topic.title) %>
|
7
7
|
<%= link_to t(".destroy"), [topic], class: "button tiny button--title destroy", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
|
8
|
-
<%= link_to t(".edit"), [
|
8
|
+
<%= link_to t(".edit"), [:edit, topic], class: "button tiny button--title new" %>
|
9
9
|
<% else %>
|
10
10
|
<%= t(".without_topic") %>
|
11
11
|
<% end %>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<% pages.each do |page| %>
|
29
29
|
<tr>
|
30
30
|
<td>
|
31
|
-
<%= link_to translated_attribute(page.title), [
|
31
|
+
<%= link_to translated_attribute(page.title), [:edit, page] %><br>
|
32
32
|
</td>
|
33
33
|
<td>
|
34
34
|
<%= l page.created_at, format: :short %>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
</td>
|
41
41
|
<td class="table-list__actions">
|
42
42
|
<% if allowed_to? :update, :static_page, static_page: page %>
|
43
|
-
<%= icon_link_to "pencil", [
|
43
|
+
<%= icon_link_to "pencil", [:edit, page], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>
|
44
44
|
<% end %>
|
45
45
|
|
46
46
|
<%= icon_link_to "eye", decidim.page_path(page), t("actions.view", scope: "decidim.admin.static_pages"), class: "action-icon--preview" %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<h2 class="card-title">
|
4
4
|
<%= t "decidim.admin.titles.users" %>
|
5
5
|
<% if allowed_to? :create, :admin_user %>
|
6
|
-
<%= link_to t("actions.user.new", scope: "decidim.admin"), [
|
6
|
+
<%= link_to t("actions.user.new", scope: "decidim.admin"), [:new, :user], class: "button tiny button--title" %>
|
7
7
|
<% end %>
|
8
8
|
</h2>
|
9
9
|
</div>
|
@@ -46,7 +46,7 @@
|
|
46
46
|
<td><%= l user.created_at, format: :short %></td>
|
47
47
|
<td class="table-list__actions">
|
48
48
|
<% if allowed_to?(:invite, :admin_user, user: user) && user.invited_to_sign_up? %>
|
49
|
-
<%= icon_link_to "reload", [
|
49
|
+
<%= icon_link_to "reload", [:resend_invitation, user], t("actions.resend_invitation", scope: "decidim.admin"), class: "resend-invitation", method: :post %>
|
50
50
|
<% end %>
|
51
51
|
|
52
52
|
<% if allowed_to? :destroy, :admin_user, user: user %>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<%= t ".title" %>
|
5
5
|
</div>
|
6
6
|
<div class="secondary-nav__actions">
|
7
|
-
<%= link_to t("actions.newsletter.new", scope: "decidim.admin"), [
|
7
|
+
<%= link_to t("actions.newsletter.new", scope: "decidim.admin"), [:newsletter_templates], class: "button expanded small new" %>
|
8
8
|
</div>
|
9
9
|
</div>
|
10
10
|
<% end %>
|
@@ -4,8 +4,8 @@
|
|
4
4
|
<%= t "decidim.admin.titles.static_pages" %>
|
5
5
|
</div>
|
6
6
|
<div class="secondary-nav__actions">
|
7
|
-
<%= link_to t("static_page_topics.new.create", scope: "decidim.admin"), [
|
8
|
-
<%= link_to t("static_pages.new.create", scope: "decidim.admin"), [
|
7
|
+
<%= link_to t("static_page_topics.new.create", scope: "decidim.admin"), [:new, :static_page_topic], class: "button expanded small new" %>
|
8
|
+
<%= link_to t("static_pages.new.create", scope: "decidim.admin"), [:new, :static_page], class: "button expanded small new" %>
|
9
9
|
</div>
|
10
10
|
</div>
|
11
11
|
<% end %>
|
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
@@ -929,6 +929,13 @@ fr-CA:
|
|
929
929
|
errors:
|
930
930
|
impersonate_user:
|
931
931
|
reason: Vous devez fournir une raison lors de l'emprunt d'identité d'un utilisateur standard
|
932
|
+
metrics:
|
933
|
+
blocked_users:
|
934
|
+
object: utilisateurs bloqués
|
935
|
+
title: Utilisateurs bloqués
|
936
|
+
reported_users:
|
937
|
+
object: utilisateurs signalés
|
938
|
+
title: Utilisateurs signalés
|
932
939
|
moderations:
|
933
940
|
actions:
|
934
941
|
expand: Agrandir
|
data/config/locales/fr.yml
CHANGED
@@ -929,6 +929,13 @@ fr:
|
|
929
929
|
errors:
|
930
930
|
impersonate_user:
|
931
931
|
reason: Vous devez fournir une raison lors de l'emprunt d'identité d'un utilisateur standard
|
932
|
+
metrics:
|
933
|
+
blocked_users:
|
934
|
+
object: utilisateurs bloqués
|
935
|
+
title: Utilisateurs bloqués
|
936
|
+
reported_users:
|
937
|
+
object: utilisateurs signalés
|
938
|
+
title: Utilisateurs signalés
|
932
939
|
moderations:
|
933
940
|
actions:
|
934
941
|
expand: Agrandir
|
data/config/locales/ja.yml
CHANGED
@@ -26,11 +26,15 @@ ja:
|
|
26
26
|
published_at: 公開日時
|
27
27
|
weight: 重みづけ
|
28
28
|
id: ID
|
29
|
+
import:
|
30
|
+
user_group_id: インポートを作成
|
29
31
|
newsletter:
|
30
32
|
body: 本文
|
31
33
|
subject: 件名
|
32
34
|
organization:
|
35
|
+
admin_terms_of_use_body: 管理者の利用規約の本文
|
33
36
|
alert_color: アラート
|
37
|
+
available_authorizations: 利用可能な認証方式
|
34
38
|
badges_enabled: バッジを有効にする
|
35
39
|
comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
|
36
40
|
cta_button_path: Call To Action ボタンのパス
|
@@ -41,6 +45,8 @@ ja:
|
|
41
45
|
enable_omnipresent_banner: Show omnipresent banner
|
42
46
|
facebook_handler: Facebook handler
|
43
47
|
favicon: アイコン
|
48
|
+
force_authentication: 認証の強制
|
49
|
+
force_users_to_authenticate_before_access_organization: 組織にアクセスする前にユーザーの認証を強制する
|
44
50
|
from: メールアドレスから
|
45
51
|
github_handler: GitHub handler
|
46
52
|
header_snippets: ヘッダスニペットを表示
|
@@ -53,6 +59,7 @@ ja:
|
|
53
59
|
highlighted_content_banner_image: 画像
|
54
60
|
highlighted_content_banner_short_description: 短い説明
|
55
61
|
highlighted_content_banner_title: タイトル
|
62
|
+
host: ホスト
|
56
63
|
instagram_handler: Instagram handler
|
57
64
|
logo: ロゴ
|
58
65
|
machine_translation_display_priority: 機械翻訳表示の優先度
|
@@ -65,16 +72,21 @@ ja:
|
|
65
72
|
omnipresent_banner_short_description: 短い説明
|
66
73
|
omnipresent_banner_title: タイトル
|
67
74
|
omnipresent_banner_url: URL
|
75
|
+
organization_admin_email: 組織管理者メールアドレス
|
76
|
+
organization_admin_name: 組織管理者名
|
77
|
+
organization_locales: 組織のロケール
|
68
78
|
primary_color: プライマリ(プライマリ)
|
69
79
|
reference_prefix: 参照の接頭辞:
|
70
80
|
rich_text_editor_in_public_views: 参加者にリッチテキストエディタを有効にする
|
71
81
|
secondary_color: Secondary
|
82
|
+
secondary_hosts: セカンダリホスト
|
72
83
|
send_welcome_notification: ウェルカム通知を送信
|
73
84
|
success_color: 成功
|
74
85
|
time_zone: タイムゾーン
|
75
86
|
tos_version: Terms of service version
|
76
87
|
twitter_handler: Twitter handler
|
77
88
|
user_groups_enabled: グループを有効にする
|
89
|
+
users_registration_mode: ユーザー登録モード
|
78
90
|
warning_color: 警告
|
79
91
|
welcome_notification_body: Welcome通知本文
|
80
92
|
welcome_notification_subject: ウェルカム通知の件名
|
@@ -93,6 +105,7 @@ ja:
|
|
93
105
|
settings:
|
94
106
|
scope_id: スコープ
|
95
107
|
static_page:
|
108
|
+
allow_public_access: 認証なしでのアクセスを許可
|
96
109
|
changed_notably: 目立つ変更がありました。
|
97
110
|
content: コンテンツ
|
98
111
|
organization: 組織
|
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.24.
|
4
|
+
version: 0.24.2
|
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: 2021-
|
13
|
+
date: 2021-05-07 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.24.
|
35
|
+
version: 0.24.2
|
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.24.
|
42
|
+
version: 0.24.2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,28 +130,28 @@ dependencies:
|
|
130
130
|
requirements:
|
131
131
|
- - '='
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.24.
|
133
|
+
version: 0.24.2
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - '='
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.24.
|
140
|
+
version: 0.24.2
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: decidim-participatory_processes
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - '='
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.24.
|
147
|
+
version: 0.24.2
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
152
|
- - '='
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.24.
|
154
|
+
version: 0.24.2
|
155
155
|
description: Organization administration to manage a single organization.
|
156
156
|
email:
|
157
157
|
- josepjaume@gmail.com
|