decidim-access_requests 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 259bc717859886c55b071ce446441c0f8a4bfaede09c13e82342be709af6f69e
4
- data.tar.gz: b7131cc6db67a85b8ab06485a670e78cad4b9602594c752f1eb2afcb767ff455
3
+ metadata.gz: 4d47b7dbb35a6b1d19c667671dd4157158961c9728d94535376ccc5fd966f424
4
+ data.tar.gz: 36a22780fb8460c7d180c8c9b162e028dc3f86f880ae072658e2d89fb38d6cd0
5
5
  SHA512:
6
- metadata.gz: 4fdfdbd4aa728b489f40bf02cb1d684b13444f2ab78098e16c8ad7ac7fa31e747f650689f3b055b03ad54e12cfd6a66b241a6fbf17fd4a78dc584d16abc9ea9c
7
- data.tar.gz: 4df5f678cbae150acab83bcc17535db8a105ceec7eb6aac97fe19ca53182427078bb8e846aa5147aae1bcf7f58c081077f11f4b686d91a5cfdee8afc4e6761f1
6
+ metadata.gz: 52e80c7d7a77d507b6d8dc44a3bd28b4d0aed39f767309188cdd505fdee38eab2914756a8b0522143baf74a64118a3df01a650ddf9338f14f3bed1bd2c4b3ae7
7
+ data.tar.gz: bb3233be56e10312b8d8a058ebb99ffbc6f3bf418410b45eb3c83da8862698296545cae89983eb9716cedbba783d56db599dd9332e7e46cc3a00518076ee05d0
@@ -19,17 +19,27 @@
19
19
  <% @granted_authorizations.each do |authorization| %>
20
20
  <tr>
21
21
  <td>
22
- <%= authorization.user.name %>
22
+ <% if authorization.user.deleted? %>
23
+ (<%= t(".deleted_user") %>)
24
+ <% else %>
25
+ <%= authorization.user.name %>
26
+ <% end %>
23
27
  </td>
24
28
  <td>
25
- <%= authorization.user.nickname %>
29
+ <% if authorization.user.deleted? %>
30
+ (<%= t(".deleted_user") %>)
31
+ <% else %>
32
+ <%= authorization.user.nickname %>
33
+ <% end %>
26
34
  </td>
27
35
  <td class="table-list__actions">
28
- <%= icon_link_to "person",
29
- decidim.profile_path(authorization.user.nickname),
30
- t("layouts.decidim.user_profile.account"),
31
- class:"action-icon--show",
32
- target: "_blank" %>
36
+ <% unless authorization.user.deleted? %>
37
+ <%= icon_link_to "person",
38
+ decidim.profile_path(authorization.user.nickname),
39
+ t("layouts.decidim.user_profile.account"),
40
+ class:"action-icon--show",
41
+ target: "_blank" %>
42
+ <% end %>
33
43
  <%= icon_link_to "circle-x",
34
44
  granted_authorization_path(authorization.id),
35
45
  t(".remove_access"),
@@ -18,17 +18,27 @@
18
18
  <% @pending_authorizations.each do |authorization| %>
19
19
  <tr>
20
20
  <td>
21
- <%= authorization.user.name %>
21
+ <% if authorization.user.deleted? %>
22
+ (<%= t(".deleted_user") %>)
23
+ <% else %>
24
+ <%= authorization.user.name %>
25
+ <% end %>
22
26
  </td>
23
27
  <td>
24
- <%= authorization.user.nickname %>
28
+ <% if authorization.user.deleted? %>
29
+ (<%= t(".deleted_user") %>)
30
+ <% else %>
31
+ <%= authorization.user.nickname %>
32
+ <% end %>
25
33
  </td>
26
34
  <td class="table-list__actions">
27
- <%= icon_link_to "person",
28
- decidim.profile_path(authorization.user.nickname),
29
- t("layouts.decidim.user_profile.account"),
30
- class:"action-icon--show",
31
- target: "_blank" %>
35
+ <% unless authorization.user.deleted? %>
36
+ <%= icon_link_to "person",
37
+ decidim.profile_path(authorization.user.nickname),
38
+ t("layouts.decidim.user_profile.account"),
39
+ class:"action-icon--show",
40
+ target: "_blank" %>
41
+ <% end %>
32
42
  <%= icon_link_to "circle-check",
33
43
  pending_authorization_path(authorization.id),
34
44
  t(".approve_request"),
@@ -11,6 +11,7 @@ ca:
11
11
  error: Hi ha hagut un error esborrant la verificació.
12
12
  success: Verificació esborrada correctament.
13
13
  index:
14
+ deleted_user: Deleted user
14
15
  name: Nom
15
16
  new: Nova
16
17
  nickname: Sobrenom
@@ -32,6 +33,7 @@ ca:
32
33
  success: Sol·licitud rebutjada correctament.
33
34
  index:
34
35
  approve_request: Accepta la sol·licitud
36
+ deleted_user: Deleted user
35
37
  granted_authorizations: Sol·licituds acceptades
36
38
  name: Nom
37
39
  nickname: Sobrenom
@@ -11,6 +11,7 @@ en:
11
11
  error: There was an error deleting the verification.
12
12
  success: Verification was deleted successfully.
13
13
  index:
14
+ deleted_user: Deleted user
14
15
  name: Name
15
16
  new: New
16
17
  nickname: Nickname
@@ -32,6 +33,7 @@ en:
32
33
  success: Access request was rejected successfully.
33
34
  index:
34
35
  approve_request: Grant access
36
+ deleted_user: Deleted user
35
37
  granted_authorizations: Granted requests
36
38
  name: Name
37
39
  nickname: Nickname
@@ -11,6 +11,7 @@ es:
11
11
  error: Ha ocurrido un error borrando la verificación.
12
12
  success: Verificación borrada correctamente.
13
13
  index:
14
+ deleted_user: Deleted user
14
15
  name: Nombre
15
16
  new: Nueva
16
17
  nickname: Apodo
@@ -32,6 +33,7 @@ es:
32
33
  success: Solicitud rechazada correctamente.
33
34
  index:
34
35
  approve_request: Acepta la solicitud
36
+ deleted_user: Deleted user
35
37
  granted_authorizations: Solicitudes aceptadas
36
38
  name: Nombre
37
39
  nickname: Apodo
@@ -11,6 +11,7 @@ fi:
11
11
  error: Poistettaessa varmennusta tapahtui virhe.
12
12
  success: Varmennus poistettu onnistuneesti.
13
13
  index:
14
+ deleted_user: Poistettu käyttäjä
14
15
  name: Nimi
15
16
  new: Uusi
16
17
  nickname: Nimimerkki
@@ -32,6 +33,7 @@ fi:
32
33
  success: Pääsyoikeus evätty onnistuneesti.
33
34
  index:
34
35
  approve_request: Myönnä pääsyoikeus
36
+ deleted_user: Poistettu käyttäjä
35
37
  granted_authorizations: Myönnetyt pääsyoikeudet
36
38
  name: Nimi
37
39
  nickname: Nimimerkki
@@ -11,6 +11,7 @@ sv:
11
11
  error: There was an error deleting the verification.
12
12
  success: Verification was deleted successfully.
13
13
  index:
14
+ deleted_user: Deleted user
14
15
  name: Namn
15
16
  new: Ny
16
17
  nickname: Smeknamn
@@ -32,6 +33,7 @@ sv:
32
33
  success: Access request was rejected successfully.
33
34
  index:
34
35
  approve_request: Ge åtkomst
36
+ deleted_user: Deleted user
35
37
  granted_authorizations: Beviljade förfrågningar
36
38
  name: Namn
37
39
  nickname: Smeknamn
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module AccessRequests
5
- VERSION = "0.19.0"
5
+ VERSION = "0.19.1"
6
6
  DECIDIM_VERSION = "~> 0.19.0"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-access_requests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antti Hukkanen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-28 00:00:00.000000000 Z
11
+ date: 2020-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin