th_simple_admin_panel 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDVkZTQzMjlkNzg4MTg0ZmJiZjY1ZWNkYjJmNjIyOTM1NjkwOWY5Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Mjg2ZmRkMzFhNTBlYzFmM2NjNzVmNTg4YWNhZjQ5YzZiNzk2MGY1MQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjQ1NzljODJjZmNhNWRjMjU1ZWZhNWEwOWQyNjVmMzk3ZWRmNWMyYWNhMzg0
|
10
|
+
ZGQwODdmODA1NTEyZGMyZjYyYmFkMGJlOTkwZjkzY2RiMDYxZWRiOGQzNTUw
|
11
|
+
NmU0MjdiNDQ1MjczMjBmYzMyMmZiMWFjZmVkMDRiNjc1Y2JiNGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTllZWQyN2E2OTJmZTU4ZThiODU1MmUzYjVkMThhNDQ2NjJmMTI4NTY0ZDIw
|
14
|
+
NDdjMjZmMjQ5ZGFlMDBhZmU5ODZlZTU0MjQwNmY4MTM0NTc5MjMxZWNjY2U2
|
15
|
+
NjhiNDI1M2QzOTQwNjk2OWFmZjc2YzliNzVhYWY4OWNkNWZhYWQ=
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<% end %>
|
27
27
|
<% else %>
|
28
28
|
<li><%= link_to resource_class.model_name.human(count: 2), collection_path %> <span class="divider">/</span></li>
|
29
|
-
|
29
|
+
<% if params[:id].present? %>
|
30
|
+
<li><%= link_to_if controller.respond_to?(:show) && can?(:show, resource), resource.name, resource_path %> <span class="divider">/</span></li>
|
31
|
+
<% end %>
|
30
32
|
<li class="active"><%= t(".actions.#{resource_class.model_name.underscore}.#{params[:action]}", default: t(".actions.#{params[:action]}")) %></li>
|
31
33
|
<% end %>
|
32
34
|
<% else %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: th_simple_admin_panel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Hinloopen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -61,7 +61,6 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- app/assets/javascripts/simple_admin_panel.js
|
63
63
|
- app/assets/stylesheets/admin/layout.css.scss
|
64
|
-
- app/assets/stylesheets/admin/simple_pages.css.scss
|
65
64
|
- app/assets/stylesheets/shared/layout.css.scss
|
66
65
|
- app/assets/stylesheets/shared.css.scss
|
67
66
|
- app/controllers/simple_admin_panel/application_controller.rb
|