oxen_account 0.4.9 → 0.4.11
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: 44af386a312bea365aca53bdbab138a167cf227f
|
4
|
+
data.tar.gz: f1033fc29f9726c8aa01a19f55033f968f4572ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42fbce935c1baf7f858aea30e6a23f5ba617202a82f0cb0891b5afafa427c6b44a0f36da4c66c78b7f6d6519ad763cdbcdf828c213513353ca6d517558ed4777
|
7
|
+
data.tar.gz: 434c450524d269ce1aaf78f399904876d098c722a1a0bb35aaf98a3542d8a41a5a243c72b9c59d20ec62ec907bcffb12b63b59150408f63d87c698f89ad594c9
|
data/app/models/ox_account.rb
CHANGED
@@ -5,7 +5,6 @@ class OxAccount < AbstractResource
|
|
5
5
|
|
6
6
|
has_many :users, dependent: :destroy, foreign_key: 'account_id'
|
7
7
|
has_many :printers, dependent: :destroy, foreign_key: 'account_id'
|
8
|
-
has_many :printservers, dependent: :destroy, foreign_key: 'account_id'
|
9
8
|
has_many :services, dependent: :destroy, foreign_key: 'account_id'
|
10
9
|
|
11
10
|
validates :name, presence: true
|
@@ -1,4 +1,4 @@
|
|
1
|
-
%tr
|
1
|
+
%tr{ id: "tr-#{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,4 +9,6 @@
|
|
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
|
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
|
@@ -1,10 +1,9 @@
|
|
1
|
-
%tr
|
1
|
+
%tr{ id: "tr-#{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
|
-
|
9
|
-
|
10
|
-
-# %i.material-icons.small{ title: "#{t('.delete')}"} delete
|
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
|
data/lib/oxen_account/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.11
|
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-
|
11
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|