oxen_account 0.4.7 → 0.4.8

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: 5c0afe11f6b5b3479bfe62d739c907332c6bef59
4
- data.tar.gz: 85ecc988805abb710a62e6b393da62a2876b3441
3
+ metadata.gz: 962afaf2f2ebfbf735a92cd6cdd19de47203c983
4
+ data.tar.gz: ba9e9cc6d140a7e6e5594e248ad981163701605e
5
5
  SHA512:
6
- metadata.gz: c97e66ffbec48fcf634c493b9cce59d4c614f32cff6866579fa2fdc8566d046463c18322de6711f7a848775b15bc32d000d146c941ad15c4861e46dca597e9f8
7
- data.tar.gz: ed730232d71f8f06b739f0c9b18af957ed18265d3ac33a588469dec721b4e0527f6566d2949d22ef51df26fed6693ea56012a33d362177dd1a5561ca5b8e1019
6
+ metadata.gz: e90ed92ab7a25ab3e74e726a6ea197c2ea0658ff22596b42f50342be164f11abd800ae1e540c02c53509f21324efd832f88b681e37f6e7e421e5ab3ae9c2254b
7
+ data.tar.gz: ac1687913411b11b839c2b3bb6f54a6852d877973e6f90b9267cc375c8e3749ef0c44884ab03823198b22f8d7fd3d1860071e0536b3d07a9bb750ba198c67699
@@ -1,4 +1,4 @@
1
- %tr{ id: "tr-#{resource_class}-#{resource.id}"}
1
+ %tr{ id: "tr-#{resource.class.to_s}-#{resource.id}"}
2
2
  %td= link_to resource.name, resource
3
3
  %td= show_resource_active resource
4
4
  %td= show_print_servers resource
@@ -1,4 +1,4 @@
1
- %tr{ id: "tr-#{user.id}", class:"#{invited_user? user}"}
1
+ %tr.post{ id: "tr-#{user.class.to_s}-#{user.id}", class:"#{invited_user? user}"}
2
2
  %td= link_to user.name, user
3
3
  %td= user.email
4
4
  %td= show_resource_active user
@@ -9,6 +9,4 @@
9
9
  = link_to url_for(user) + '/confirm', class: "unconfirmed yellow-text" do
10
10
  = content_tag :i, 'report_problem', class: "material-icons"
11
11
  %td= user.invitations.count
12
- %td
13
- = link_to user, class: 'delete_link', data: { url: '/admin/users', name: "#{user.name}", id: "#{user.id}", remove: "#tr-#{user.id}" } do
14
- %i.material-icons.small{ title: "#{t('.delete')}"} delete
12
+ %td= show_resource_delete_icon user, '/admin/users'
@@ -1,9 +1,10 @@
1
- %tr{ id: "tr-#{user.id}", class:"#{invited_user? user}"}
1
+ %tr.post{ id: "tr-#{resource_class.to_s}-#{user.id}", class:"#{invited_user? user}"}
2
2
  %td= link_to user.name, user
3
3
  %td= link_to( user.account.name, user.account) rescue ''
4
4
  %td= user.email rescue ''
5
5
  %td= show_resource_active user
6
6
  %td= user.invitations.count
7
- %td
8
- = link_to user, class: 'delete_link', data: { url: '/admin/users', name: "#{user.name}", id: "#{user.id}", remove: "#tr-#{user.id}" } do
9
- %i.material-icons.small{ title: "#{t('.delete')}"} delete
7
+ %td= show_resource_delete_icon user, '/admin/users'
8
+ -# %td
9
+ -# = link_to user, class: 'delete_link', data: { url: '/admin/users', name: "#{user.name}", id: "#{user.id}", remove: "#tr-#{user.id}" } do
10
+ -# %i.material-icons.small{ title: "#{t('.delete')}"} delete
@@ -1,3 +1,3 @@
1
1
  module OxenAccount
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxen_account
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Walther H Diechmann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-25 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -370,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
370
370
  version: '0'
371
371
  requirements: []
372
372
  rubyforge_project:
373
- rubygems_version: 2.2.2
373
+ rubygems_version: 2.4.5
374
374
  signing_key:
375
375
  specification_version: 4
376
376
  summary: Offers an account table for customer accounts