decidim-system 0.27.9 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/app/commands/decidim/system/create_admin.rb +1 -1
  4. data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
  5. data/app/commands/decidim/system/create_default_pages.rb +23 -4
  6. data/app/commands/decidim/system/populate_help.rb +2 -2
  7. data/app/commands/decidim/system/register_organization.rb +18 -8
  8. data/app/commands/decidim/system/update_admin.rb +1 -1
  9. data/app/commands/decidim/system/update_organization.rb +2 -1
  10. data/app/controllers/decidim/system/application_controller.rb +1 -1
  11. data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
  12. data/app/controllers/decidim/system/organizations_controller.rb +30 -9
  13. data/app/forms/decidim/system/admin_form.rb +1 -1
  14. data/app/forms/decidim/system/update_organization_form.rb +16 -17
  15. data/app/jobs/decidim/system/application_job.rb +1 -1
  16. data/app/mailers/decidim/system/application_mailer.rb +12 -0
  17. data/app/packs/entrypoints/decidim_system.js +5 -3
  18. data/app/packs/stylesheets/decidim/system/application.scss +108 -21
  19. data/app/views/decidim/system/admins/_form.html.erb +1 -7
  20. data/app/views/decidim/system/admins/edit.html.erb +3 -3
  21. data/app/views/decidim/system/admins/index.html.erb +3 -31
  22. data/app/views/decidim/system/admins/new.html.erb +3 -3
  23. data/app/views/decidim/system/dashboard/show.html.erb +13 -3
  24. data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
  25. data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
  26. data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
  27. data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
  28. data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
  29. data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
  30. data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
  31. data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
  32. data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
  33. data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
  34. data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
  35. data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
  36. data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
  37. data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
  38. data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
  39. data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
  40. data/app/views/decidim/system/organizations/edit.html.erb +29 -26
  41. data/app/views/decidim/system/organizations/index.html.erb +3 -4
  42. data/app/views/decidim/system/organizations/new.html.erb +29 -42
  43. data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
  44. data/app/views/decidim/system/shared/_notices.html.erb +4 -6
  45. data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
  46. data/app/views/layouts/decidim/system/_header.html.erb +2 -2
  47. data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
  48. data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
  49. data/app/views/layouts/decidim/system/application.html.erb +24 -28
  50. data/app/views/layouts/decidim/system/login.html.erb +10 -9
  51. data/config/locales/ar.yml +0 -12
  52. data/config/locales/bg.yml +0 -214
  53. data/config/locales/ca.yml +69 -18
  54. data/config/locales/cs.yml +69 -12
  55. data/config/locales/de.yml +62 -18
  56. data/config/locales/el.yml +8 -11
  57. data/config/locales/en.yml +70 -18
  58. data/config/locales/eo.yml +0 -7
  59. data/config/locales/es-MX.yml +70 -18
  60. data/config/locales/es-PY.yml +70 -18
  61. data/config/locales/es.yml +70 -18
  62. data/config/locales/eu.yml +69 -17
  63. data/config/locales/fa-IR.yml +0 -5
  64. data/config/locales/fi-plain.yml +69 -18
  65. data/config/locales/fi.yml +71 -20
  66. data/config/locales/fr-CA.yml +44 -24
  67. data/config/locales/fr.yml +54 -18
  68. data/config/locales/ga-IE.yml +0 -4
  69. data/config/locales/gl.yml +0 -12
  70. data/config/locales/hu.yml +0 -35
  71. data/config/locales/id-ID.yml +0 -10
  72. data/config/locales/is-IS.yml +0 -10
  73. data/config/locales/it.yml +0 -13
  74. data/config/locales/ja.yml +43 -24
  75. data/config/locales/lb.yml +0 -5
  76. data/config/locales/lt.yml +18 -11
  77. data/config/locales/lv.yml +0 -27
  78. data/config/locales/nl.yml +0 -20
  79. data/config/locales/no.yml +0 -12
  80. data/config/locales/pl.yml +0 -53
  81. data/config/locales/pt-BR.yml +0 -38
  82. data/config/locales/pt.yml +0 -12
  83. data/config/locales/ro-RO.yml +3 -19
  84. data/config/locales/ru.yml +0 -27
  85. data/config/locales/sk.yml +0 -27
  86. data/config/locales/sl.yml +0 -26
  87. data/config/locales/sr-CS.yml +0 -17
  88. data/config/locales/sv.yml +0 -12
  89. data/config/locales/tr-TR.yml +3 -15
  90. data/config/locales/uk.yml +0 -21
  91. data/config/locales/zh-CN.yml +0 -12
  92. data/config/locales/zh-TW.yml +7 -10
  93. data/config/routes.rb +6 -2
  94. data/db/seeds.rb +1 -1
  95. data/lib/decidim/system/engine.rb +2 -25
  96. data/lib/decidim/system/menu.rb +35 -0
  97. data/lib/decidim/system/version.rb +1 -1
  98. data/lib/tasks/decidim_system.rake +1 -1
  99. metadata +22 -28
  100. data/app/packs/entrypoints/decidim_system.scss +0 -1
  101. data/app/packs/images/decidim/system/.keep +0 -0
  102. data/app/packs/src/decidim/system/application.js +0 -41
  103. data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
  104. data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
  105. data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
  106. data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
  107. data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
  108. data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
  109. data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
  110. data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
  111. data/app/views/decidim/system/admins/show.html.erb +0 -9
  112. data/app/views/decidim/system/organizations/show.html.erb +0 -10
  113. data/config/locales/he-IL.yml +0 -1
  114. 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="field">
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
- <div class="field">
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
- <div class="field">
22
- <%= f.label :force_authentication %>
23
- <%= f.check_box :force_users_to_authenticate_before_access_organization %>
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
- <div class="field">
27
- <%= f.label :users_registration_mode %>
28
- <%= f.collection_radio_buttons :users_registration_mode,
29
- Decidim::Organization.users_registration_modes,
30
- :first,
31
- ->(mode) { t("decidim.system.organizations.users_registration_mode.#{mode.first}") } %>
32
- </div>
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
- <div class="field">
35
- <%= f.label :available_authorizations %>
36
- <%= f.collection_check_boxes :available_authorizations, Decidim.authorization_workflows, :name, :description %>
37
- </div>
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
- <%= render partial: "advanced_settings", locals: { f: f } %>
34
+ <%= render partial: "advanced_settings", locals: { f: } %>
35
+ </div>
40
36
 
41
- <div class="actions">
42
- <%= f.submit t("decidim.system.actions.save") %>
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
- <h2><%= t ".title" %></h2>
4
+ <h1 class="h1"><%= t ".title" %></h1>
5
5
  <% end %>
6
6
 
7
- <div class="actions title">
8
- <%= link_to t("actions.new", scope: "decidim.system", name: t("models.organization.name", scope: "decidim.system")), [:new, :organization], class: "new" %>
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
- <h2><%= t ".title" %></h2>
4
+ <h1 class="h1"><%= t ".title" %></h1>
5
5
  <% end %>
6
6
 
7
7
  <%= decidim_form_for(@form) do |f| %>
8
- <div class="field">
8
+ <div class="form__wrapper">
9
9
  <%= f.text_field :name, autofocus: true %>
10
- </div>
11
10
 
12
- <div class="field">
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
- <div class="field">
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
- <div class="field">
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
- <%= f.fields_for :locales do |fields| %>
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
- </div>
56
- <% end %>
41
+ <% end %>
57
42
 
58
- <div class="field">
59
- <%= f.label :force_authentication %>
60
- <%= f.check_box :force_users_to_authenticate_before_access_organization %>
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
- <div class="field">
64
- <%= f.label :users_registration_mode %>
65
- <%= f.collection_radio_buttons :users_registration_mode,
66
- Decidim::Organization.users_registration_modes,
67
- :first,
68
- ->(mode) { t("decidim.system.organizations.users_registration_mode.#{mode.first}") } %>
69
- </div>
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
- <div class="field">
72
- <%= f.label :available_authorizations %>
73
- <%= f.collection_check_boxes :available_authorizations, Decidim.authorization_workflows, :name, :description %>
74
- </div>
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
- <%= render partial: "advanced_settings", locals: { f: f } %>
62
+ <%= render partial: "advanced_settings", locals: { f: } %>
63
+ </div>
77
64
 
78
- <div class="actions">
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
- <div class="flash callout warning">
5
- <% guide = link_to t(".our_getting_started_guide"),
6
- "https://docs.decidim.org/",
7
- target: :blank %>
4
+ <% guide = link_to t(".our_getting_started_guide"),
5
+ "https://docs.decidim.org/",
6
+ target: :blank %>
8
7
 
9
- <%= t(".no_organization_warning_html", guide: guide) %>
10
- </div>
8
+ <%= cell "decidim/announcement", t(".no_organization_warning_html", guide:), callout_class: "warning" %>
11
9
  <% end %>
@@ -1,4 +1,4 @@
1
- <table class="stack">
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
- <%= link_to t("actions.edit", scope: "decidim.system"), [:edit, organization] %>
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="session-box">
2
- <div class="admin-email">
3
- <%= current_admin.email %>
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
- <div class="title">
2
- <h1>
3
- <%= link_to root_path do %>
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
- <div class="off-canvas-wrapper">
11
- <div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
12
- <div class="off-canvas position-left reveal-for-large" id="my-info" data-off-canvas data-position="left">
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
- <div class="off-canvas-content" data-off-canvas-content>
19
- <div class="title-bar hide-for-large">
20
- <div class="title-bar-left">
21
- <button class="menu-icon" type="button" data-open="my-info"></button>
22
- <span class="title-bar-title"><%= title %></span>
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
- <%= render "decidim/system/shared/notices" %>
34
- <%= yield %>
35
- </div>
36
- </div>
37
- </div>
20
+ <%= link_to root_path, class: "block" do %>
21
+ <%= title %>
22
+ <% end %>
38
23
  </div>
39
- </div>
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="login">
9
- <div class="login-form-wrapper">
10
- <div class="login-form">
11
- <h1><%= t("decidim", scope: "decidim.system.titles") %></h1>
12
- <%= render "decidim/system/shared/notices" %>
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
- </div>
14
+
15
+ <%= render "decidim/system/shared/notices" %>
16
+
17
+ <%= yield %>
18
+ <% end %>
18
19
  </body>
19
20
  </html>
@@ -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} قبل المتابعة.