effective_trash 0.3.0 → 0.3.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/admin/trash/_actions.html.haml +3 -2
- data/lib/effective_trash/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b542e2929ae9716df6b09a9a482657b25fcebf17
|
4
|
+
data.tar.gz: caf41ba9a378738c5916d969c45280f4c33c3bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7c3a8f18344b204dadef5bb6225a24d0857dd4180803cc3e5302e7e6a07c941b626b2ecec06a7568c8dbe0ccede8c9acf8f8be50e82687d0ed2c50305dae579
|
7
|
+
data.tar.gz: 4ff53ef056b81d4f18fd333aeddf446f500172c261fc92878074ac51c4bd2bda818b30241811e342b6a02a0c552bf131ebd8441cd157ac3055bb583302876365
|
@@ -1,8 +1,9 @@
|
|
1
1
|
- show_path = (datatable.admin_namespace? ? effective_trash.admin_trash_path(trash) : effective_trash.trash_path(trash))
|
2
2
|
|
3
3
|
- if defined?(EffectiveBootstrap)
|
4
|
-
=
|
5
|
-
|
4
|
+
= dropdown(variation: :dropleft) do
|
5
|
+
= dropdown_link_to 'View', show_path
|
6
|
+
= dropdown_link_to 'Restore from Trash', effective_trash.restore_trash_path(trash), data: { confirm: 'Restore this item?'}
|
6
7
|
- else
|
7
8
|
= link_to show_path, title: 'view' do
|
8
9
|
%span.glyphicon.glyphicon-eye-open
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_trash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|