decidim-system 0.10.1 → 0.11.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-system might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/app/views/decidim/system/admins/edit.html.erb +2 -2
- data/app/views/decidim/system/admins/index.html.erb +2 -2
- data/app/views/decidim/system/admins/new.html.erb +2 -2
- data/app/views/decidim/system/admins/show.html.erb +1 -1
- data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +1 -1
- data/app/views/decidim/system/organizations/edit.html.erb +1 -1
- data/app/views/decidim/system/organizations/index.html.erb +2 -2
- data/app/views/decidim/system/organizations/new.html.erb +1 -1
- data/app/views/decidim/system/organizations/show.html.erb +1 -1
- data/app/views/layouts/decidim/system/_header.html.erb +3 -3
- data/app/views/layouts/decidim/system/_login_items.html.erb +1 -1
- data/app/views/layouts/decidim/system/_sidebar.html.erb +1 -1
- data/app/views/layouts/decidim/system/application.html.erb +2 -2
- data/app/views/layouts/decidim/system/login.html.erb +1 -1
- data/config/locales/fr.yml +2 -2
- data/lib/decidim/system/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: 22ef39d73ea2c1dda5a1d86576779dabe2611dffd38d7e0315b9ece1b03d2990
|
4
|
+
data.tar.gz: 945ea59097986285f5a57e4855805f943a2853b61476afdabbd8b1a5c49439be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3010b9a6decead79349dc461bebc2a7bf60e109b9606fb41bd3b3ca385187780708361b25487404864621def96fbab5ffc4c1aad5f7bde4586d4e7abaefe2e92
|
7
|
+
data.tar.gz: cdede09a1dd486c2d45e107762ccd6ef13795f4e332810926a1e1116237de8dce6790a7bae7d832089dd4382e215290087a2ae3ecfb0d30329163291e917a8bd
|
data/README.md
CHANGED
@@ -64,6 +64,10 @@ following the form instructions. After creating it, a new admin user will be cre
|
|
64
64
|
Remember that System admins and regular Admins are completely different users (they don't even share the same database table), so you can't use your
|
65
65
|
system user to login in as an organization admin.
|
66
66
|
|
67
|
+
## Contributing
|
68
|
+
|
69
|
+
See [Decidim](https://github.com/decidim/decidim).
|
70
|
+
|
67
71
|
## License
|
68
72
|
|
69
|
-
|
73
|
+
See [Decidim](https://github.com/decidim/decidim).
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<h2><%= t ".title" %></h2>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%=
|
6
|
-
<%= render partial:
|
5
|
+
<%= decidim_form_for(@form) do |f| %>
|
6
|
+
<%= render partial: "form", object: f %>
|
7
7
|
|
8
8
|
<div class="actions">
|
9
9
|
<%= f.submit t(".update") %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<div class="actions title">
|
6
|
-
<%= link_to t("actions.new", scope: "decidim.system", name: t("models.admin.name", scope: "decidim.system")), [
|
6
|
+
<%= link_to t("actions.new", scope: "decidim.system", name: t("models.admin.name", scope: "decidim.system")), ["new", "admin"], class: "new" %>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<table class="stack">
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<%= l admin.created_at, format: :short %>
|
25
25
|
</td>
|
26
26
|
<td class="actions">
|
27
|
-
<%= link_to t("actions.edit", scope: "decidim.system"), [
|
27
|
+
<%= link_to t("actions.edit", scope: "decidim.system"), ["edit", admin] %>
|
28
28
|
<%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
|
29
29
|
</td>
|
30
30
|
</tr>
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<h2><%= t ".title" %></h2>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%=
|
6
|
-
<%= render partial:
|
5
|
+
<%= decidim_form_for(@form) do |f| %>
|
6
|
+
<%= render partial: "form", object: f %>
|
7
7
|
|
8
8
|
<div class="actions">
|
9
9
|
<%= f.submit t(".create") %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
4
4
|
|
5
|
-
<p><%= link_to
|
5
|
+
<p><%= link_to "Change my password", edit_password_url(@resource, reset_password_token: @token) %></p>
|
6
6
|
|
7
7
|
<p>If you didn't request this, please ignore this email.</p>
|
8
8
|
<p>Your password won't change until you access the link above and create a new one.</p>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<div class="actions title">
|
6
|
-
<%= link_to t("actions.new", scope: "decidim.system", name: t("models.organization.name", scope: "decidim.system")), [
|
6
|
+
<%= link_to t("actions.new", scope: "decidim.system", name: t("models.organization.name", scope: "decidim.system")), ["new", "organization"], class: "new" %>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<table class="stack">
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<%= l organization.created_at, format: :short %>
|
26
26
|
</td>
|
27
27
|
<td class="actions">
|
28
|
-
<%= link_to t("actions.edit", scope: "decidim.system"), [
|
28
|
+
<%= link_to t("actions.edit", scope: "decidim.system"), ["edit", organization] %>
|
29
29
|
</td>
|
30
30
|
</tr>
|
31
31
|
<% end %>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
|
32
32
|
<%= f.fields_for :locales do |fields| %>
|
33
33
|
<div class="field">
|
34
|
-
<%= f.label :organization_locales,
|
34
|
+
<%= f.label :organization_locales, "", class: @form.respond_to?(:errors) && @form.errors[:default_locale].present? ? "is-invalid-label" : "" %>
|
35
35
|
<table>
|
36
36
|
<thead>
|
37
37
|
<tr>
|
@@ -6,6 +6,6 @@
|
|
6
6
|
|
7
7
|
<div class="actions">
|
8
8
|
<hr />
|
9
|
-
<%= link_to t("decidim.system.actions.edit"), [
|
9
|
+
<%= link_to t("decidim.system.actions.edit"), ["edit", @organization] %>
|
10
10
|
<%= link_to t("decidim.system.actions.destroy"), @organization, method: :delete, class: "alert button", data: { confirm: t("decidim.system.actions.confirm_destroy") } %>
|
11
11
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"
|
1
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2
2
|
<%= csrf_meta_tags %>
|
3
|
-
<%= stylesheet_link_tag
|
4
|
-
<%= javascript_include_tag
|
3
|
+
<%= stylesheet_link_tag "decidim/system/application", media: "all" %>
|
4
|
+
<%= javascript_include_tag "decidim/system/application" %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Decidim - System</title>
|
5
|
-
<%= render partial:
|
5
|
+
<%= render partial: "layouts/decidim/system/header" %>
|
6
6
|
</head>
|
7
7
|
|
8
8
|
<body>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
|
11
11
|
<div class="off-canvas position-left reveal-for-large" id="my-info" data-off-canvas data-position="left">
|
12
12
|
<div class="sidebar">
|
13
|
-
<%= render partial:
|
13
|
+
<%= render partial: "layouts/decidim/system/sidebar" %>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
|
data/config/locales/fr.yml
CHANGED
@@ -36,7 +36,7 @@ fr:
|
|
36
36
|
models:
|
37
37
|
admin:
|
38
38
|
fields:
|
39
|
-
created_at:
|
39
|
+
created_at: Créé le
|
40
40
|
email: Courriel
|
41
41
|
name: Administrateur
|
42
42
|
validations:
|
@@ -45,7 +45,7 @@ fr:
|
|
45
45
|
actions:
|
46
46
|
save_and_invite: Créer une organisation et inviter un administrateur
|
47
47
|
fields:
|
48
|
-
created_at:
|
48
|
+
created_at: Créé le
|
49
49
|
name: Nom
|
50
50
|
name: Organisation
|
51
51
|
organizations:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0.pre1
|
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: 2018-04-
|
13
|
+
date: 2018-04-26 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.
|
35
|
+
version: 0.11.0.pre1
|
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.
|
42
|
+
version: 0.11.0.pre1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,14 +116,14 @@ dependencies:
|
|
116
116
|
requirements:
|
117
117
|
- - '='
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
119
|
+
version: 0.11.0.pre1
|
120
120
|
type: :development
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - '='
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
126
|
+
version: 0.11.0.pre1
|
127
127
|
description: System administration to create new organization in an installation.
|
128
128
|
email:
|
129
129
|
- josepjaume@gmail.com
|
@@ -223,9 +223,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '2.3'
|
224
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
|
-
- - "
|
226
|
+
- - ">"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
228
|
+
version: 1.3.1
|
229
229
|
requirements: []
|
230
230
|
rubyforge_project:
|
231
231
|
rubygems_version: 2.7.3
|