ecm_staff2_backend 1.0.0 → 1.0.1

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: bea276dc1588f22fb5d355c89bae2693d4e0b64a
4
- data.tar.gz: c6e9c3e51e404dcc6451f4d19521c6452efaafda
3
+ metadata.gz: b158452aaf35c901923e8a302216c3dbe1a63819
4
+ data.tar.gz: 9eaff8f6069309d685c18ddc238d0c3abefcbd5f
5
5
  SHA512:
6
- metadata.gz: e6a657d3e9a6e7cba47d60d9daff63ac41b372fb05ba2cdf3bc43c7af7e5f8d861622f826778ad0a4b287b1e0bc12b659d842a80d4edc696771027ab988d8997
7
- data.tar.gz: 4109bda8e1b0989d283ae50fa31689ccebc5de634d7b3ec6b0c917df9a92c7f9872e016862cd37c612ef0bdefd253b2bb6627dfa59a58065397d71997cb1bc92
6
+ metadata.gz: f4f6f93dcdc54c6b805080c9b6f3715cadd3b4d2907fd70bfaa8c1281453351a37bbf890cf4095c5585c2ce0658816b611de7d118e00201d5b6febf134e9ad92
7
+ data.tar.gz: 8ecb2c3c6cdf0217307d1077a08d11baea16554886dc08dfb9b20f176c5ccfc06e994deb35f0b65386bb1dbb294add41ca98f55dbcf2415d1749b83f0d343c2a
@@ -3,6 +3,7 @@ module Ecm
3
3
  module Backend
4
4
  class PeopleController < Itsf::Backend::Resource::BaseController
5
5
  include ResourcesController::FriendlyIdConcern
6
+ include ResourcesController::ActsAsListConcern
6
7
 
7
8
  def self.resource_class
8
9
  Ecm::Staff::Person
@@ -1,6 +1,7 @@
1
1
  = table.column(:preview_picture) do |person|
2
- - if person.preview_picture.present?
3
- %img.img-responsive.bottom-margin-2{ src: person.preview_picture.image.url(:medium_thumb), alt: person.preview_picture.description, title: person.preview_picture.description }
2
+ - capture_haml do
3
+ - if person.preview_picture.present?
4
+ %img.img-responsive.bottom-margin-2{ src: person.preview_picture.image.url(:medium_thumb), alt: person.preview_picture.description, title: person.preview_picture.description }
4
5
  = table.column :firstname
5
6
  = table.column :lastname
6
7
  = table.column :birthdate
@@ -1,7 +1,7 @@
1
1
  module Ecm
2
2
  module Staff
3
3
  module Backend
4
- VERSION = '1.0.0'.freeze
4
+ VERSION = '1.0.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_staff2_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-19 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails