padrino-admin 0.12.3 → 0.12.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7be96108479392a72c2d75fa1e1c77f36889a6f9
|
4
|
+
data.tar.gz: 4aa3885d076838579cf795ac8b57479fbbefa82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b7cc06386f4282ebaf38e1e218ba566aa6850d6ca0a1d21af034de98a436d2602e6514709f837682ceab9852be85be60dc73e091214122a09c48ed38bf914b
|
7
|
+
data.tar.gz: ada9fd2b8b1a95991a1339ce63136512c6ec0973fe1ec11721f49895e2843a83d8859e979b689fdca281e1caf9287d1619b8acb8b89b3b1fc2191077f1f34139
|
@@ -57,7 +57,7 @@ module Padrino
|
|
57
57
|
def project_modules(account)
|
58
58
|
role = account.role.to_sym rescue :any
|
59
59
|
authorizations = @authorizations.find_all { |auth| auth.roles.include?(role) }
|
60
|
-
authorizations.
|
60
|
+
authorizations.flat_map(&:project_modules).uniq
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -40,6 +40,7 @@
|
|
40
40
|
<th class=header> <%%= mat(:<%= @orm.name_singular %>, :<%= column.name %>) %></th>
|
41
41
|
<% end -%>
|
42
42
|
<th class="header list-row-action-header"></th>
|
43
|
+
</tr>
|
43
44
|
</thead>
|
44
45
|
|
45
46
|
<tbody>
|
@@ -69,9 +70,11 @@
|
|
69
70
|
<%%= submit_tag pat(:delete), :class =>'list-row-action-popover-delete-one-btn btn btn-danger btn-small' %>
|
70
71
|
<div class="btn btn-default btn-small cancel"><%%= pat(:cancel) %></div>
|
71
72
|
<%% end %>
|
73
|
+
</div>
|
72
74
|
</div>
|
73
75
|
</div>
|
74
76
|
</td>
|
77
|
+
</tr>
|
75
78
|
<%% end %>
|
76
79
|
</tbody>
|
77
80
|
</table>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Padrino Team
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-
|
14
|
+
date: 2014-10-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: padrino-core
|
@@ -19,28 +19,28 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.12.
|
22
|
+
version: 0.12.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.12.
|
29
|
+
version: 0.12.4
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: padrino-helpers
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.12.
|
36
|
+
version: 0.12.4
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.12.
|
43
|
+
version: 0.12.4
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: therubyracer
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|