decidim-system 0.27.10 → 0.28.0.rc4
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/README.md +10 -7
- data/app/commands/decidim/system/create_admin.rb +1 -1
- data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
- data/app/commands/decidim/system/create_default_pages.rb +23 -4
- data/app/commands/decidim/system/populate_help.rb +2 -2
- data/app/commands/decidim/system/register_organization.rb +18 -8
- data/app/commands/decidim/system/update_admin.rb +1 -1
- data/app/commands/decidim/system/update_organization.rb +2 -1
- data/app/controllers/decidim/system/application_controller.rb +1 -1
- data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
- data/app/controllers/decidim/system/organizations_controller.rb +30 -9
- data/app/forms/decidim/system/admin_form.rb +1 -1
- data/app/forms/decidim/system/update_organization_form.rb +16 -17
- data/app/jobs/decidim/system/application_job.rb +1 -1
- data/app/mailers/decidim/system/application_mailer.rb +12 -0
- data/app/packs/entrypoints/decidim_system.js +5 -3
- data/app/packs/stylesheets/decidim/system/application.scss +108 -21
- data/app/views/decidim/system/admins/_form.html.erb +1 -7
- data/app/views/decidim/system/admins/edit.html.erb +3 -3
- data/app/views/decidim/system/admins/index.html.erb +3 -31
- data/app/views/decidim/system/admins/new.html.erb +3 -3
- data/app/views/decidim/system/dashboard/show.html.erb +13 -3
- data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
- data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
- data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
- data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
- data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
- data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
- data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
- data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
- data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
- data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
- data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
- data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
- data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
- data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
- data/app/views/decidim/system/organizations/edit.html.erb +29 -26
- data/app/views/decidim/system/organizations/index.html.erb +3 -4
- data/app/views/decidim/system/organizations/new.html.erb +29 -42
- data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
- data/app/views/decidim/system/shared/_notices.html.erb +4 -6
- data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
- data/app/views/layouts/decidim/system/_header.html.erb +2 -2
- data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
- data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
- data/app/views/layouts/decidim/system/application.html.erb +24 -28
- data/app/views/layouts/decidim/system/login.html.erb +10 -9
- data/config/locales/ar.yml +0 -12
- data/config/locales/bg.yml +0 -214
- data/config/locales/ca.yml +69 -18
- data/config/locales/cs.yml +69 -12
- data/config/locales/de.yml +62 -18
- data/config/locales/el.yml +8 -11
- data/config/locales/en.yml +70 -18
- data/config/locales/eo.yml +0 -7
- data/config/locales/es-MX.yml +70 -18
- data/config/locales/es-PY.yml +70 -18
- data/config/locales/es.yml +70 -18
- data/config/locales/eu.yml +69 -17
- data/config/locales/fa-IR.yml +0 -5
- data/config/locales/fi-plain.yml +69 -18
- data/config/locales/fi.yml +71 -20
- data/config/locales/fr-CA.yml +44 -24
- data/config/locales/fr.yml +54 -18
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -12
- data/config/locales/hu.yml +0 -35
- data/config/locales/id-ID.yml +0 -10
- data/config/locales/is-IS.yml +0 -10
- data/config/locales/it.yml +0 -13
- data/config/locales/ja.yml +43 -24
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +18 -11
- data/config/locales/lv.yml +0 -27
- data/config/locales/nl.yml +0 -20
- data/config/locales/no.yml +0 -12
- data/config/locales/pl.yml +0 -53
- data/config/locales/pt-BR.yml +0 -38
- data/config/locales/pt.yml +0 -12
- data/config/locales/ro-RO.yml +3 -19
- data/config/locales/ru.yml +0 -27
- data/config/locales/sk.yml +0 -27
- data/config/locales/sl.yml +0 -26
- data/config/locales/sr-CS.yml +0 -17
- data/config/locales/sv.yml +0 -12
- data/config/locales/tr-TR.yml +3 -15
- data/config/locales/uk.yml +0 -21
- data/config/locales/zh-CN.yml +0 -12
- data/config/locales/zh-TW.yml +7 -10
- data/config/routes.rb +6 -2
- data/db/seeds.rb +1 -1
- data/lib/decidim/system/engine.rb +2 -25
- data/lib/decidim/system/menu.rb +35 -0
- data/lib/decidim/system/version.rb +1 -1
- data/lib/tasks/decidim_system.rake +1 -1
- metadata +22 -28
- data/app/packs/entrypoints/decidim_system.scss +0 -1
- data/app/packs/images/decidim/system/.keep +0 -0
- data/app/packs/src/decidim/system/application.js +0 -41
- data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
- data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
- data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
- data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
- data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
- data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
- data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
- data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
- data/app/views/decidim/system/admins/show.html.erb +0 -9
- data/app/views/decidim/system/organizations/show.html.erb +0 -10
- data/config/locales/he-IL.yml +0 -1
- data/decidim-system.gemspec +0 -35
@@ -5,40 +5,43 @@
|
|
5
5
|
<% end %>
|
6
6
|
|
7
7
|
<%= decidim_form_for(@form) do |f| %>
|
8
|
-
<div class="
|
8
|
+
<div class="form__wrapper">
|
9
9
|
<%= f.text_field :name, autofocus: true %>
|
10
|
-
</div>
|
11
10
|
|
12
|
-
<div class="field">
|
13
11
|
<%= f.text_field :host %>
|
14
|
-
</div>
|
15
12
|
|
16
|
-
|
17
|
-
<%= f.text_area :secondary_hosts %>
|
18
|
-
<p class="help-text"><%= t(".secondary_hosts_hint") %></p>
|
19
|
-
</div>
|
13
|
+
<%= f.text_area :secondary_hosts, help_text: t(".secondary_hosts_hint") %>
|
20
14
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
</div>
|
15
|
+
<%= field_set_tag f.label(:force_authentication, nil, for: nil) do %>
|
16
|
+
<%= f.check_box :force_users_to_authenticate_before_access_organization, label_options: { class: "form__wrapper-checkbox-label" } %>
|
17
|
+
<% end %>
|
25
18
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
19
|
+
<%= field_set_tag f.label(:users_registration_mode, nil, for: nil) do %>
|
20
|
+
<%= f.collection_radio_buttons :users_registration_mode,
|
21
|
+
Decidim::Organization.users_registration_modes,
|
22
|
+
:first,
|
23
|
+
->(mode) { t("decidim.system.organizations.users_registration_mode.#{mode.first}") } do |builder|
|
24
|
+
builder.label(for: nil, class: "form__wrapper-checkbox-label") { builder.radio_button(id: nil) + builder.text }
|
25
|
+
end %>
|
26
|
+
<% end %>
|
33
27
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
28
|
+
<%= field_set_tag f.label(:available_authorizations, nil, for: nil) do %>
|
29
|
+
<%= f.collection_check_boxes :available_authorizations, Decidim.authorization_workflows, :name, :description do |builder|
|
30
|
+
builder.label(for: nil, class: "form__wrapper-checkbox-label") { builder.check_box(id: nil) + builder.text }
|
31
|
+
end %>
|
32
|
+
<% end %>
|
38
33
|
|
39
|
-
|
34
|
+
<%= render partial: "advanced_settings", locals: { f: } %>
|
35
|
+
</div>
|
40
36
|
|
41
|
-
<div class="
|
42
|
-
|
37
|
+
<div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
|
38
|
+
<% if @organization.users.first&.invitation_pending? %>
|
39
|
+
<%= link_to t(".resend_invitation"),
|
40
|
+
resend_invitation_organization_path(@organization),
|
41
|
+
method: :post,
|
42
|
+
class: "button button__sm md:button__lg button__transparent-secondary",
|
43
|
+
data: { confirm: t(".confirm_resend_invitation") } %>
|
44
|
+
<% end %>
|
45
|
+
<%= f.submit t("decidim.system.actions.save"), class: "button button__sm md:button__lg button__primary" %>
|
43
46
|
</div>
|
44
47
|
<% end %>
|
@@ -1,10 +1,9 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
|
3
3
|
<% provide :title do %>
|
4
|
-
<
|
4
|
+
<h1 class="h1"><%= t ".title" %></h1>
|
5
5
|
<% end %>
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
</div>
|
7
|
+
<%= link_to t("actions.new_organization", scope: "decidim.system"), [:new, :organization], class: "button button__sm md:button__lg button__primary" %>
|
8
|
+
|
10
9
|
<%= render partial: "decidim/system/shared/organizations_list", locals: { organizations: @organizations } %>
|
@@ -1,38 +1,24 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
|
3
3
|
<% provide :title do %>
|
4
|
-
<
|
4
|
+
<h1 class="h1"><%= t ".title" %></h1>
|
5
5
|
<% end %>
|
6
6
|
|
7
7
|
<%= decidim_form_for(@form) do |f| %>
|
8
|
-
<div class="
|
8
|
+
<div class="form__wrapper">
|
9
9
|
<%= f.text_field :name, autofocus: true %>
|
10
|
-
</div>
|
11
10
|
|
12
|
-
|
13
|
-
<%= f.text_field :reference_prefix %>
|
14
|
-
<p class="help-text"><%= t(".reference_prefix_hint") %></p>
|
15
|
-
</div>
|
11
|
+
<%= f.text_field :reference_prefix, help_text: t(".reference_prefix_hint") %>
|
16
12
|
|
17
|
-
<div class="field">
|
18
13
|
<%= f.text_field :host %>
|
19
|
-
</div>
|
20
14
|
|
21
|
-
|
22
|
-
<%= f.text_area :secondary_hosts %>
|
23
|
-
<p class="help-text"><%= t(".secondary_hosts_hint") %></p>
|
24
|
-
</div>
|
15
|
+
<%= f.text_area :secondary_hosts, help_text: t(".secondary_hosts_hint") %>
|
25
16
|
|
26
|
-
<div class="field">
|
27
17
|
<%= f.text_field :organization_admin_name %>
|
28
|
-
</div>
|
29
18
|
|
30
|
-
|
31
|
-
<%= f.email_field :organization_admin_email %>
|
32
|
-
</div>
|
19
|
+
<%= f.email_field :organization_admin_email, help_text: t(".organization_admin_email_hint") %>
|
33
20
|
|
34
|
-
|
35
|
-
<div class="field">
|
21
|
+
<%= f.fields_for :locales do |fields| %>
|
36
22
|
<%= f.label :organization_locales, "", class: @form.respond_to?(:errors) && @form.errors[:default_locale].present? ? "is-invalid-label" : "" %>
|
37
23
|
<table>
|
38
24
|
<thead>
|
@@ -46,36 +32,37 @@
|
|
46
32
|
<% localized_locales.each do |locale| %>
|
47
33
|
<tr>
|
48
34
|
<td><%= locale.name %></td>
|
49
|
-
<td><%= check_box_tag "organization[available_locales][#{locale.id}]", locale.id, @form.available_locales.include?(locale.id) %></td>
|
50
|
-
<td><%= radio_button_tag "organization[default_locale]", locale.id, @form.default_locale == locale.id %></td>
|
35
|
+
<td><%= check_box_tag "organization[available_locales][#{locale.id}]", locale.id, @form.available_locales.include?(locale.id), class: "!m-0" %></td>
|
36
|
+
<td><%= radio_button_tag "organization[default_locale]", locale.id, @form.default_locale == locale.id, class: "!m-0" %></td>
|
51
37
|
</tr>
|
52
38
|
<% end %>
|
53
39
|
</tbody>
|
54
40
|
</table>
|
55
|
-
|
56
|
-
<% end %>
|
41
|
+
<% end %>
|
57
42
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
</div>
|
43
|
+
<%= field_set_tag f.label(:force_authentication, nil, for: nil) do %>
|
44
|
+
<%= f.check_box :force_users_to_authenticate_before_access_organization, label_options: { class: "form__wrapper-checkbox-label" } %>
|
45
|
+
<% end %>
|
62
46
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
47
|
+
<%= field_set_tag f.label(:users_registration_mode, nil, for: nil) do %>
|
48
|
+
<%= f.collection_radio_buttons :users_registration_mode,
|
49
|
+
Decidim::Organization.users_registration_modes,
|
50
|
+
:first,
|
51
|
+
->(mode) { t("decidim.system.organizations.users_registration_mode.#{mode.first}") } do |builder|
|
52
|
+
builder.label(for: nil, class: "form__wrapper-checkbox-label") { builder.radio_button(id: nil) + builder.text }
|
53
|
+
end %>
|
54
|
+
<% end %>
|
70
55
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
56
|
+
<%= field_set_tag f.label(:available_authorizations, nil, for: nil) do %>
|
57
|
+
<%= f.collection_check_boxes :available_authorizations, Decidim.authorization_workflows, :name, :description do |builder|
|
58
|
+
builder.label(for: nil, class: "form__wrapper-checkbox-label") { builder.check_box(id: nil) + builder.text }
|
59
|
+
end %>
|
60
|
+
<% end %>
|
75
61
|
|
76
|
-
|
62
|
+
<%= render partial: "advanced_settings", locals: { f: } %>
|
63
|
+
</div>
|
77
64
|
|
78
|
-
<div class="
|
79
|
-
<%= f.submit t("decidim.system.models.organization.actions.save_and_invite") %>
|
65
|
+
<div class="form__wrapper-block">
|
66
|
+
<%= f.submit t("decidim.system.models.organization.actions.save_and_invite"), class: "button button__sm md:button__lg button__primary" %>
|
80
67
|
</div>
|
81
68
|
<% end %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<table>
|
2
|
+
<thead>
|
3
|
+
<tr>
|
4
|
+
<th><%= t("models.admin.fields.email", scope: "decidim.system") %></th>
|
5
|
+
<th><%= t("models.admin.fields.created_at", scope: "decidim.system") %></th>
|
6
|
+
<th class="actions"><%= t("actions.title", scope: "decidim.system") %></th>
|
7
|
+
</tr>
|
8
|
+
</thead>
|
9
|
+
<tbody>
|
10
|
+
<% admins.each do |admin| %>
|
11
|
+
<tr>
|
12
|
+
<td>
|
13
|
+
<%= link_to admin.email, edit_admin_path(admin) %><br>
|
14
|
+
</td>
|
15
|
+
<td>
|
16
|
+
<%= l admin.created_at, format: :short %>
|
17
|
+
</td>
|
18
|
+
<td class="actions">
|
19
|
+
<%= link_to t("actions.edit", scope: "decidim.system"), edit_admin_path(admin) %>
|
20
|
+
<% unless current_admin?(admin) %>
|
21
|
+
<%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
|
22
|
+
<% end %>
|
23
|
+
</td>
|
24
|
+
</tr>
|
25
|
+
<% end %>
|
26
|
+
</tbody>
|
27
|
+
</table>
|
@@ -1,11 +1,9 @@
|
|
1
1
|
<%= display_flash_messages %>
|
2
2
|
|
3
3
|
<% if Decidim::Organization.none? %>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
target: :blank %>
|
4
|
+
<% guide = link_to t(".our_getting_started_guide"),
|
5
|
+
"https://docs.decidim.org/",
|
6
|
+
target: :blank %>
|
8
7
|
|
9
|
-
|
10
|
-
</div>
|
8
|
+
<%= cell "decidim/announcement", t(".no_organization_warning_html", guide:), callout_class: "warning" %>
|
11
9
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<table
|
1
|
+
<table>
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
4
|
<th><%= t("models.organization.fields.name", scope: "decidim.system") %></th>
|
@@ -10,14 +10,21 @@
|
|
10
10
|
<% organizations.each do |organization| %>
|
11
11
|
<tr>
|
12
12
|
<td>
|
13
|
-
<%= link_to organization.name, organization %><br>
|
13
|
+
<%= link_to organization.name, edit_organization_path(organization) %><br>
|
14
14
|
<%= organization.host %>
|
15
15
|
</td>
|
16
16
|
<td>
|
17
17
|
<%= l organization.created_at, format: :short %>
|
18
18
|
</td>
|
19
19
|
<td class="actions">
|
20
|
-
|
20
|
+
<% if organization.users.first&.invitation_pending? %>
|
21
|
+
<%= link_to t(".resend_invitation"),
|
22
|
+
resend_invitation_organization_path(organization),
|
23
|
+
method: :post,
|
24
|
+
class: "button button__sm button__transparent-secondary no-underline",
|
25
|
+
data: { confirm: t(".confirm_resend_invitation") } %>
|
26
|
+
<% end %>
|
27
|
+
<%= link_to t("actions.edit", scope: "decidim.system"), edit_organization_path(organization) %>
|
21
28
|
</td>
|
22
29
|
</tr>
|
23
30
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2
2
|
<%= csrf_meta_tags %>
|
3
|
-
<%= stylesheet_pack_tag "decidim_system", media: "all" %>
|
4
|
-
<%= javascript_pack_tag "decidim_system", defer: false %>
|
3
|
+
<%= stylesheet_pack_tag "decidim_core", "decidim_system", media: "all" %>
|
4
|
+
<%= javascript_pack_tag "decidim_core", "decidim_system", defer: false %>
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<div class="
|
2
|
-
<
|
3
|
-
|
4
|
-
</div>
|
5
|
-
<div class="sign-out">
|
6
|
-
<%= link_to(t(".logout"), destroy_admin_session_path, :method => :delete) %>
|
7
|
-
</div>
|
1
|
+
<div class="flex items-center justify-between border-t border-black p-4">
|
2
|
+
<span><%= current_admin.email %></span>
|
3
|
+
<%= link_to(t(".logout"), destroy_admin_session_path, method: :delete, class: "button button__sm md:button__lg button__text-primary") %>
|
8
4
|
</div>
|
@@ -1,10 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<%= title %>
|
5
|
-
<% end %>
|
6
|
-
</h1>
|
7
|
-
</div>
|
1
|
+
<%= link_to root_path, class: "hidden md:block bg-primary p-4 text-white font-bold text-lg" do %>
|
2
|
+
<%= title %>
|
3
|
+
<% end %>
|
8
4
|
|
9
5
|
<%= main_menu.render %>
|
10
6
|
|
@@ -6,37 +6,33 @@
|
|
6
6
|
<%= render partial: "layouts/decidim/system/header" %>
|
7
7
|
</head>
|
8
8
|
|
9
|
-
<body>
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
<div class="sidebar">
|
14
|
-
<%= render partial: "layouts/decidim/system/sidebar" %>
|
15
|
-
</div>
|
16
|
-
</div>
|
9
|
+
<body class="text-black text-md form-defaults min-h-screen flex items-stretch">
|
10
|
+
<aside id="aside-system">
|
11
|
+
<%= render partial: "layouts/decidim/system/sidebar" %>
|
12
|
+
</aside>
|
17
13
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
<div class="row main-content">
|
26
|
-
<div class="small-12 column">
|
27
|
-
<% if content_for?(:title) %>
|
28
|
-
<section class="page-title">
|
29
|
-
<%= content_for :title %>
|
30
|
-
</section>
|
31
|
-
<% end %>
|
14
|
+
<main class="grow">
|
15
|
+
<div class="flex md:hidden items-center gap-2 bg-primary p-4 text-white font-bold text-lg">
|
16
|
+
<button id="aside-trigger" class="flex-none md:hidden" data-component="dropdown" data-target="aside-system" data-disabled-md="true">
|
17
|
+
<%= icon "menu-line", class: "w-6 h-6 text-white fill-current" %>
|
18
|
+
</button>
|
32
19
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
</div>
|
37
|
-
</div>
|
20
|
+
<%= link_to root_path, class: "block" do %>
|
21
|
+
<%= title %>
|
22
|
+
<% end %>
|
38
23
|
</div>
|
39
|
-
|
24
|
+
|
25
|
+
<div class="p-6 md:px-16 md:py-12 h-full w-full space-y-6">
|
26
|
+
<%= render "decidim/system/shared/notices" %>
|
27
|
+
|
28
|
+
<% if content_for?(:title) %>
|
29
|
+
<%= content_for :title %>
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<%= yield %>
|
33
|
+
</div>
|
34
|
+
</main>
|
35
|
+
|
40
36
|
<%= render partial: "decidim/shared/confirm_modal" %>
|
41
37
|
<%= render partial: "layouts/decidim/system/js_configuration" %>
|
42
38
|
<%= render partial: "layouts/decidim/cors" if Decidim.cors_enabled %>
|
@@ -5,15 +5,16 @@
|
|
5
5
|
<%= render partial: "layouts/decidim/system/header" %>
|
6
6
|
</head>
|
7
7
|
|
8
|
-
<body class="
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<div class="login-form-inner">
|
14
|
-
<%= yield %>
|
15
|
-
</div>
|
8
|
+
<body class="text-black text-md form-defaults bg-gray-3 h-screen w-screen grid place-items-center">
|
9
|
+
<%= render layout: "layouts/decidim/shared/layout_center" do %>
|
10
|
+
|
11
|
+
<div class="space-y-8 my-10">
|
12
|
+
<h1 class="h1 decorator"><%= t("decidim", scope: "decidim.system.titles") %></h1>
|
16
13
|
</div>
|
17
|
-
|
14
|
+
|
15
|
+
<%= render "decidim/system/shared/notices" %>
|
16
|
+
|
17
|
+
<%= yield %>
|
18
|
+
<% end %>
|
18
19
|
</body>
|
19
20
|
</html>
|
data/config/locales/ar.yml
CHANGED
@@ -38,15 +38,11 @@ ar:
|
|
38
38
|
confirm_destroy: هل أنت متأكد أنك تريد حذف هذا؟
|
39
39
|
destroy: حذف
|
40
40
|
edit: تعديل
|
41
|
-
new: الجديد
|
42
41
|
save: حفظ
|
43
42
|
title: أفعال
|
44
43
|
admins:
|
45
44
|
create:
|
46
45
|
error: كانت هناك مشكلة في إنشاء مسؤول جديد.
|
47
|
-
success: تم إنشاء المشرف بنجاح
|
48
|
-
destroy:
|
49
|
-
success: تم حذف المشرف بنجاح
|
50
46
|
edit:
|
51
47
|
title: تحرير المشرف
|
52
48
|
update: تحديث
|
@@ -55,11 +51,8 @@ ar:
|
|
55
51
|
new:
|
56
52
|
create: إنشاء
|
57
53
|
title: المشرف الجديد
|
58
|
-
show:
|
59
|
-
edit: تعديل
|
60
54
|
update:
|
61
55
|
error: حدثت مشكلة أثناء تحديث هذا المشرف.
|
62
|
-
success: تم تحديث المشرف بنجاح
|
63
56
|
dashboard:
|
64
57
|
show:
|
65
58
|
current_organizations: المنظمات الحالية
|
@@ -77,7 +70,6 @@ ar:
|
|
77
70
|
fields:
|
78
71
|
created_at: أنشئت في
|
79
72
|
email: البريد الإلكتروني
|
80
|
-
name: مشرف
|
81
73
|
validations:
|
82
74
|
email_uniqueness: يوجد مشرف آخر بنفس البريد الإلكتروني بالفعل
|
83
75
|
oauth_application:
|
@@ -85,7 +77,6 @@ ar:
|
|
85
77
|
created_at: أنشئ في
|
86
78
|
name: اسم تطبيق OAuth
|
87
79
|
organization_name: المنظمة
|
88
|
-
name: تطبيق OAuth
|
89
80
|
organization:
|
90
81
|
actions:
|
91
82
|
save_and_invite: إنشاء منظمة ودعوة المشرف
|
@@ -95,7 +86,6 @@ ar:
|
|
95
86
|
name: اسم
|
96
87
|
omniauth_settings: إعدادات Omniauth
|
97
88
|
smtp_settings: إعدادات الـ SMTP
|
98
|
-
name: المنظمة
|
99
89
|
oauth_applications:
|
100
90
|
create:
|
101
91
|
error: كانت هناك مشكلة في إنشاء هذا التطبيق.
|
@@ -123,7 +113,6 @@ ar:
|
|
123
113
|
show: إظهار الإعدادات المتقدمة
|
124
114
|
create:
|
125
115
|
error: كانت هناك مشكلة في إنشاء منظمة جديدة.
|
126
|
-
success: تم إنشاء المنظمة بنجاح.
|
127
116
|
edit:
|
128
117
|
secondary_hosts_hint: أدخل كل واحد منهم في سطر جديد
|
129
118
|
file_upload_settings:
|
@@ -178,7 +167,6 @@ ar:
|
|
178
167
|
users_registration_mode:
|
179
168
|
disabled: يمكن فقط الوصول باستخدام الحسابات الخارجية
|
180
169
|
enabled: السماح للمشاركين بالتسجيل والدخول
|
181
|
-
existing: لا تسمح للمشاركين بالتسجيل ، لكن اسمح للمشاركين الحاليين بتسجيل الدخول
|
182
170
|
shared:
|
183
171
|
notices:
|
184
172
|
no_organization_warning_html: يجب عليك إنشاء منظمة للبدء. تأكد من قراءة %{guide} قبل المتابعة.
|