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 +4 -4
- data/app/views/decidim/access_requests/verification/admin/granted_authorizations/index.html.erb +17 -7
- data/app/views/decidim/access_requests/verification/admin/pending_authorizations/index.html.erb +17 -7
- data/config/locales/ca.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/fi.yml +2 -0
- data/config/locales/sv.yml +2 -0
- data/lib/decidim/access_requests/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d47b7dbb35a6b1d19c667671dd4157158961c9728d94535376ccc5fd966f424
|
4
|
+
data.tar.gz: 36a22780fb8460c7d180c8c9b162e028dc3f86f880ae072658e2d89fb38d6cd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e80c7d7a77d507b6d8dc44a3bd28b4d0aed39f767309188cdd505fdee38eab2914756a8b0522143baf74a64118a3df01a650ddf9338f14f3bed1bd2c4b3ae7
|
7
|
+
data.tar.gz: bb3233be56e10312b8d8a058ebb99ffbc6f3bf418410b45eb3c83da8862698296545cae89983eb9716cedbba783d56db599dd9332e7e46cc3a00518076ee05d0
|
data/app/views/decidim/access_requests/verification/admin/granted_authorizations/index.html.erb
CHANGED
@@ -19,17 +19,27 @@
|
|
19
19
|
<% @granted_authorizations.each do |authorization| %>
|
20
20
|
<tr>
|
21
21
|
<td>
|
22
|
-
|
22
|
+
<% if authorization.user.deleted? %>
|
23
|
+
(<%= t(".deleted_user") %>)
|
24
|
+
<% else %>
|
25
|
+
<%= authorization.user.name %>
|
26
|
+
<% end %>
|
23
27
|
</td>
|
24
28
|
<td>
|
25
|
-
|
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
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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"),
|
data/app/views/decidim/access_requests/verification/admin/pending_authorizations/index.html.erb
CHANGED
@@ -18,17 +18,27 @@
|
|
18
18
|
<% @pending_authorizations.each do |authorization| %>
|
19
19
|
<tr>
|
20
20
|
<td>
|
21
|
-
|
21
|
+
<% if authorization.user.deleted? %>
|
22
|
+
(<%= t(".deleted_user") %>)
|
23
|
+
<% else %>
|
24
|
+
<%= authorization.user.name %>
|
25
|
+
<% end %>
|
22
26
|
</td>
|
23
27
|
<td>
|
24
|
-
|
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
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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"),
|
data/config/locales/ca.yml
CHANGED
@@ -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
|
data/config/locales/en.yml
CHANGED
@@ -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
|
data/config/locales/es.yml
CHANGED
@@ -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
|
data/config/locales/fi.yml
CHANGED
@@ -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
|
data/config/locales/sv.yml
CHANGED
@@ -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
|
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.
|
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:
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|