decidim-admin 0.32.0.rc2 → 0.32.0.rc3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a75d0c623d020ac21476b528a57744a6106f21478e499403853a12b59c8cbb9f
4
- data.tar.gz: adef3ee649c65291bddc953e0b70bcc9f324de5ad9f7ff072f90b29310fee801
3
+ metadata.gz: 36901230e8c91881b21c0860524d5d6efb35a23046bc3e61dee9a160ac855d9b
4
+ data.tar.gz: 1d5570c6dce765730164a865bcaee1c16041ecd5f1a790e42adec090e565b644
5
5
  SHA512:
6
- metadata.gz: cce84813fd08f88437e713512d5645cabbf152449a57c6a022a7a3fbeed4255921300868fc70011507668ced560291c6d48af651040527592e44c872201401a4
7
- data.tar.gz: 2e98a204d53481e6d1e2c20583456432cb2336f741e5faa5ade313344d238f8ad024873956205e2c3561872bd065c77fc758bf0dd7e148ade586481e1355ce80
6
+ metadata.gz: 9d9cb0bcaec7d4d6543130f006d915e7d4d4fb756da9f0bf894ccdaefd64b32169aeaae9b3d80599e11525435106eed5e13f66214a7a10e9cfd8160306ce500e
7
+ data.tar.gz: 570d5c96c847ae27c440eddbed91477258311eb101ce5ff410be11ec7b1a435ce41034dc5fc85aa97e1dfc5c1269c34b46e7d0963a3d000a4cfeadf1ea02c296
@@ -31,7 +31,7 @@ module Decidim
31
31
  @content_block = content_block
32
32
  end
33
33
  on(:invalid) do
34
- raise "There was a problem persisting the changes to the content block"
34
+ raise Decidim::Commands::HookError, "There was a problem persisting the changes to the content block"
35
35
  end
36
36
  end
37
37
  end
@@ -10,6 +10,8 @@ module Decidim
10
10
  def new
11
11
  enforce_permission_to :block, :admin_user
12
12
 
13
+ return redirect_to(officializations_path, alert: I18n.t("officializations.block.no_user", scope: "decidim.admin")) unless user
14
+
13
15
  @form = form(BlockUserForm).from_model(user)
14
16
  @form.hide = params[:hide] || false
15
17
  end
@@ -56,6 +56,7 @@ module Decidim
56
56
 
57
57
  on(:invalid) do |newsletter|
58
58
  @newsletter = newsletter
59
+ @form.images = content_block.images_container
59
60
  flash.now[:error] = I18n.t("newsletters.create.error", scope: "decidim.admin")
60
61
  render action: :new, status: :unprocessable_content
61
62
  end
@@ -51,7 +51,7 @@
51
51
  <% end %>
52
52
  <% else %>
53
53
  <div class="dropdown__button-disabled">
54
- <%= with_tooltip t("tooltips.deleted_attachment_collections_info", scope: "decidim.admin") do %>
54
+ <%= with_tooltip t("tooltips.deleted_attachment_collections_info", scope: "decidim.admin"), class: :left do %>
55
55
  <%= icon "delete-bin-line", class: "text-gray" %>
56
56
  <span>
57
57
  <%= t("actions.destroy", scope: "decidim.admin") %>
@@ -98,7 +98,7 @@
98
98
  <hr>
99
99
  <li class="dropdown__item">
100
100
  <div class="dropdown__button-disabled">
101
- <%= with_tooltip t("tooltips.deleted_component_info", scope: "decidim.admin") do %>
101
+ <%= with_tooltip t("tooltips.deleted_component_info", scope: "decidim.admin"), class: :left do %>
102
102
  <%= icon "delete-bin-line", class: "text-gray" %>
103
103
  <span>
104
104
  <%= t("actions.soft_delete", scope: "decidim.admin") %>
@@ -85,7 +85,7 @@
85
85
  <li class="dropdown__item">
86
86
  <% if moderation.reportable.respond_to?(:commentable) && moderation.reportable.commentable.try(:hidden?) %>
87
87
  <div class="dropdown__button-disabled">
88
- <%= with_tooltip(t("actions.parent_hidden", scope: "decidim.moderations"), title: t("actions.parent_hidden", scope: "decidim.moderations")) do %>
88
+ <%= with_tooltip(t("actions.parent_hidden", scope: "decidim.moderations"), title: t("actions.parent_hidden", scope: "decidim.moderations"), class: :left) do %>
89
89
  <%= icon "eye-line", class: "text-gray" %>
90
90
  <span><%= t("actions.unhide", scope: "decidim.moderations") %></span>
91
91
  <% end %>
@@ -1,3 +1,9 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
 
3
- <%= link_to user.email, "mailto:#{user.email}" %>
3
+ <% if user.present? %>
4
+ <%= link_to user.email, "mailto:#{user.email}" %>
5
+ <% else %>
6
+ <div class="flash alert my-0">
7
+ <%= t(".no_user") %>
8
+ </div>
9
+ <% end %>
@@ -36,7 +36,7 @@
36
36
  </li>
37
37
  <% else %>
38
38
  <div class="dropdown__button-disabled">
39
- <%= with_tooltip t("tooltips.cannot_edit_taxonomy_filter", scope: "decidim.admin") do %>
39
+ <%= with_tooltip t("tooltips.cannot_edit_taxonomy_filter", scope: "decidim.admin"), class: :left do %>
40
40
  <%= icon "pencil-line", class: "text-gray" %>
41
41
  <%= t(".edit") %>
42
42
  <% end %>
@@ -54,7 +54,7 @@
54
54
  </li>
55
55
  <% else %>
56
56
  <div class="dropdown__button-disabled">
57
- <%= with_tooltip t("tooltips.cannot_destroy_taxonomy_filter", scope: "decidim.admin") do %>
57
+ <%= with_tooltip t("tooltips.cannot_destroy_taxonomy_filter", scope: "decidim.admin"), class: :left do %>
58
58
  <%= icon "delete-bin-line", class: "text-gray" %>
59
59
  <%= t(".destroy") %>
60
60
  <% end %>
@@ -11,7 +11,7 @@
11
11
  </head>
12
12
  <body>
13
13
 
14
- <main class="main">
14
+ <main class="main" role="main">
15
15
  <div class="layout-wrapper">
16
16
  <div class="block md:hidden col-start-1 col-end-2">
17
17
  <%= render partial: "layouts/decidim/admin/title_bar_responsive" %>
@@ -900,6 +900,7 @@ ca-IT:
900
900
  officializations:
901
901
  block:
902
902
  error: Hi ha hagut un problema en bloquejar a la participant.
903
+ no_user: No s'ha trobat cap usuària
903
904
  success: Participant bloquejada correctament.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ ca-IT:
935
936
  officialize: Oficialitza
936
937
  title: Oficialitza la participant "%{name}"
937
938
  show_email:
939
+ no_user: No s'ha trobat cap usuària
938
940
  title: Mostra el correu electrònic
939
941
  show_email_modal:
940
942
  description: Si necessites contactar a una participant directament pots clicar al botó Mostra per veure la seva adreça de correu electrònic. Aquesta acció es registrarà.
@@ -900,6 +900,7 @@ ca:
900
900
  officializations:
901
901
  block:
902
902
  error: Hi ha hagut un problema en bloquejar a la participant.
903
+ no_user: No s'ha trobat cap usuària
903
904
  success: Participant bloquejada correctament.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ ca:
935
936
  officialize: Oficialitza
936
937
  title: Oficialitza la participant "%{name}"
937
938
  show_email:
939
+ no_user: No s'ha trobat cap usuària
938
940
  title: Mostra el correu electrònic
939
941
  show_email_modal:
940
942
  description: Si necessites contactar a una participant directament pots clicar al botó Mostra per veure la seva adreça de correu electrònic. Aquesta acció es registrarà.
@@ -906,6 +906,7 @@ cs:
906
906
  officializations:
907
907
  block:
908
908
  error: Při blokování účastníka došlo k chybě.
909
+ no_user: Nebyl nalezen žádný uživatel
909
910
  success: Účastník byl úspěšně zablokován.
910
911
  bulk_action:
911
912
  block:
@@ -941,6 +942,7 @@ cs:
941
942
  officialize: Ověřit
942
943
  title: Oficializovat účastníka "%{name}"
943
944
  show_email:
945
+ no_user: Nebyl nalezen žádný uživatel
944
946
  title: Zobrazit e-mail
945
947
  show_email_modal:
946
948
  description: Pokud potřebujete kontaktovat účastníka, můžete kliknout na tlačítko Zobrazit pro zobrazení e-mailové adresy. Tato akce bude zaznamenána.
@@ -266,6 +266,8 @@ de:
266
266
  edit:
267
267
  title: Ordner bearbeiten
268
268
  update: Aktualisieren
269
+ index:
270
+ title: Ordner für Anhänge
269
271
  new:
270
272
  create: Erstellen
271
273
  title: Neuer Ordner
@@ -281,6 +283,8 @@ de:
281
283
  edit:
282
284
  title: Anhang bearbeiten
283
285
  update: Aktualisieren
286
+ index:
287
+ title: Anhänge
284
288
  new:
285
289
  create: Anhang erstellen
286
290
  title: Neuer Anhang
@@ -900,6 +900,7 @@ en:
900
900
  officializations:
901
901
  block:
902
902
  error: There was a problem blocking the participant.
903
+ no_user: No user found
903
904
  success: Participant successfully blocked.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ en:
935
936
  officialize: Officialize
936
937
  title: Officialize participant "%{name}"
937
938
  show_email:
939
+ no_user: No user found
938
940
  title: Show email
939
941
  show_email_modal:
940
942
  description: If you need to contact a participant directly, you can click on the Show button to see their email address. This action will be logged.
@@ -900,6 +900,7 @@ es-MX:
900
900
  officializations:
901
901
  block:
902
902
  error: Se ha producido un error al bloquear a la participante.
903
+ no_user: No se ha encontrado ninguna usuaria
903
904
  success: Participante bloqueada correctamente.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ es-MX:
935
936
  officialize: Oficializar
936
937
  title: Oficializar el usuario "%{name}"
937
938
  show_email:
939
+ no_user: No se ha encontrado ninguna usuaria
938
940
  title: Mostrar el correo electrónico
939
941
  show_email_modal:
940
942
  description: Si necesitas contactar directamente con una participante, puedes hacer clic en el botón Mostrar para ver la dirección de correo electrónico. Esta acción se registrará.
@@ -900,6 +900,7 @@ es-PY:
900
900
  officializations:
901
901
  block:
902
902
  error: Se ha producido un error al bloquear a la participante.
903
+ no_user: No se ha encontrado ninguna usuaria
903
904
  success: Participante bloqueada correctamente.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ es-PY:
935
936
  officialize: Oficializar
936
937
  title: Oficializar el usuario "%{name}"
937
938
  show_email:
939
+ no_user: No se ha encontrado ninguna usuaria
938
940
  title: Mostrar el correo electrónico
939
941
  show_email_modal:
940
942
  description: Si necesitas contactar directamente con una participante, puedes hacer clic en el botón Mostrar para ver la dirección de correo electrónico. Esta acción se registrará.
@@ -900,6 +900,7 @@ es:
900
900
  officializations:
901
901
  block:
902
902
  error: Se ha producido un error al bloquear a la participante.
903
+ no_user: No se ha encontrado ninguna usuaria
903
904
  success: Participante bloqueada correctamente.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ es:
935
936
  officialize: Oficializar
936
937
  title: Oficializar participante "%{name}"
937
938
  show_email:
939
+ no_user: No se ha encontrado ninguna usuaria
938
940
  title: Mostrar el correo electrónico
939
941
  show_email_modal:
940
942
  description: Si necesitas contactar directamente con una participante, puedes hacer clic en el botón Mostrar para ver la dirección de correo electrónico. Esta acción se registrará.
@@ -900,6 +900,7 @@ eu:
900
900
  officializations:
901
901
  block:
902
902
  error: Arazo bat izan da parte-hartzailea blokeatzean.
903
+ no_user: Ez da parte-hartzailerik aurkitu
903
904
  success: Parte-hartzailea zuzen blokeatua.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ eu:
935
936
  officialize: Ofizializatzen du
936
937
  title: Parte-hartzaile ofiziala "%{name}"
937
938
  show_email:
939
+ no_user: Ez da parte-hartzailerik aurkitu
938
940
  title: Erakutsi mezu elektronikoa
939
941
  show_email_modal:
940
942
  description: Parte-hartzaile batekin zuzenean harremanetan jarri behar baduzu, Erakutsi botoian klik egin dezakezu helbide elektronikoa ikusteko. Ekintza hori erregistratu egingo da.
@@ -900,6 +900,7 @@ fi-pl:
900
900
  officializations:
901
901
  block:
902
902
  error: Osallistujan estäminen epäonnistui.
903
+ no_user: Käyttäjää ei löytynyt
903
904
  success: Osallistujan estäminen onnistui.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ fi-pl:
935
936
  officialize: Virallista
936
937
  title: Virallista käyttäjä "%{name}"
937
938
  show_email:
939
+ no_user: Käyttäjää ei löytynyt
938
940
  title: Näytä sähköposti
939
941
  show_email_modal:
940
942
  description: Jos haluat ottaa suoraan yhteyttä osallistujaan, voit klikata Näytä-painiketta nähdäksesi hänen sähköpostiosoitteensa. Tästä toiminnosta jää jälki lokiin.
@@ -900,6 +900,7 @@ fi:
900
900
  officializations:
901
901
  block:
902
902
  error: Osallistujan estäminen epäonnistui.
903
+ no_user: Käyttäjää ei löytynyt
903
904
  success: Osallistujan estäminen onnistui.
904
905
  bulk_action:
905
906
  block:
@@ -935,6 +936,7 @@ fi:
935
936
  officialize: Virallista
936
937
  title: Virallista käyttäjä "%{name}"
937
938
  show_email:
939
+ no_user: Käyttäjää ei löytynyt
938
940
  title: Näytä sähköposti
939
941
  show_email_modal:
940
942
  description: Jos haluat ottaa suoraan yhteyttä osallistujaan, voit klikata Näytä-painiketta nähdäksesi hänen sähköpostiosoitteensa. Tästä toiminnosta jää jälki lokiin.
@@ -878,6 +878,7 @@ fr-CA:
878
878
  officializations:
879
879
  block:
880
880
  error: Une erreur s'est produite lors du blocage du participant.
881
+ no_user: Aucun utilisateur trouvé
881
882
  success: Participant bloqué avec succès.
882
883
  bulk_action:
883
884
  block:
@@ -912,6 +913,7 @@ fr-CA:
912
913
  officialize: Valider
913
914
  title: Valider l'utilisateur "%{name}"
914
915
  show_email:
916
+ no_user: Aucun utilisateur trouvé
915
917
  title: Afficher l'e-mail
916
918
  show_email_modal:
917
919
  description: Si vous avez besoin de contacter directement un participant, vous pouvez cliquer sur le bouton Afficher pour voir leur adresse mèl. Cette action sera enregistrée.
@@ -878,6 +878,7 @@ fr:
878
878
  officializations:
879
879
  block:
880
880
  error: Une erreur s'est produite lors du blocage du participant.
881
+ no_user: Aucun utilisateur trouvé
881
882
  success: Participant bloqué avec succès.
882
883
  bulk_action:
883
884
  block:
@@ -912,6 +913,7 @@ fr:
912
913
  officialize: Valider
913
914
  title: Valider l'utilisateur "%{name}"
914
915
  show_email:
916
+ no_user: Aucun utilisateur trouvé
915
917
  title: Afficher l'e-mail
916
918
  show_email_modal:
917
919
  description: Si vous avez besoin de contacter directement un participant, vous pouvez cliquer sur le bouton Afficher pour voir son adresse mail. Cette action sera enregistrée.
@@ -174,6 +174,7 @@ it:
174
174
  Se cambi idea, puoi ripristinarlo più tardi.
175
175
  export: Esporta
176
176
  export_all: Esporta tutto
177
+ export_selection: Esporta selezione
177
178
  import: Importazione
178
179
  newsletter:
179
180
  new: Nuova newsletter
@@ -35,7 +35,7 @@ pt-BR:
35
35
  content: Conteúdo
36
36
  id: ID
37
37
  member:
38
- email:
38
+ email: E-mail
39
39
  name: Nome
40
40
  member_csv_import:
41
41
  file: Arquivo
@@ -62,7 +62,7 @@ pt-BR:
62
62
  force_users_to_authenticate_before_access_organization: Forçar usuários a autenticar antes de acessar organização
63
63
  from: Endereço de e-mail do remetente
64
64
  github_handler: Manipulador GitHub
65
- header_snippets: Snippets de cabeçalho
65
+ header_snippets: Trecho de cabeçalho
66
66
  highlight_alternative_color: Destaque, alternativa
67
67
  highlight_color: Destaque
68
68
  host: Host
@@ -90,7 +90,7 @@ pt-BR:
90
90
  tertiary_color: Terciário
91
91
  time_zone: Fuso Horário
92
92
  tos_version: Versão dos termos de serviço
93
- twitter_handler: X handler
93
+ twitter_handler: Manipulador do X
94
94
  users_registration_mode: Modo de registro de usuários
95
95
  warning_color: Aviso
96
96
  welcome_notification_body: Corpo de notificação de boas-vindas
@@ -118,16 +118,16 @@ pt-BR:
118
118
  slug: Texto curto de URL
119
119
  title: Título
120
120
  topic_id: Tópico
121
- weight: Posição do pedido
121
+ weight: Ordem de posição
122
122
  static_page_topic:
123
123
  description: Descrição
124
124
  name: Nome do tópico
125
125
  show_in_footer: Mostrar no rodapé
126
126
  title: Título
127
- weight: Posição do pedido
127
+ weight: Ordem de posição
128
128
  taxonomy:
129
129
  item_name: Nome do item
130
- parent_id: Parente
130
+ parent_id: Pai
131
131
  user_group_csv_verification:
132
132
  file: Arquivo
133
133
  errors:
@@ -869,6 +869,7 @@ sv:
869
869
  officializations:
870
870
  block:
871
871
  error: Det gick inte att blockera deltagaren.
872
+ no_user: Ingen användare hittad
872
873
  success: Deltagaren har blockerats.
873
874
  bulk_action:
874
875
  block:
@@ -3,7 +3,7 @@
3
3
  $LOAD_PATH.push File.expand_path("lib", __dir__)
4
4
 
5
5
  Gem::Specification.new do |s|
6
- version = "0.32.0.rc2"
6
+ version = "0.32.0.rc3"
7
7
  s.version = version
8
8
  s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
9
9
  s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.32.0.rc2"
7
+ "0.32.0.rc3"
8
8
  end
9
9
  end
10
10
  end
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.32.0.rc2
4
+ version: 0.32.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.32.0.rc2
34
+ version: 0.32.0.rc3
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.32.0.rc2
41
+ version: 0.32.0.rc3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: devise
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -99,28 +99,28 @@ dependencies:
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 0.32.0.rc2
102
+ version: 0.32.0.rc3
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 0.32.0.rc2
109
+ version: 0.32.0.rc3
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: decidim-participatory_processes
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 0.32.0.rc2
116
+ version: 0.32.0.rc3
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 0.32.0.rc2
123
+ version: 0.32.0.rc3
124
124
  description: Organization administration to manage a single organization.
125
125
  email:
126
126
  - josepjaume@gmail.com