blogelator 1.0.5 → 1.0.6

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: 4a177ca92b860b001dc59507e04c196be6134235
4
- data.tar.gz: d8e5285c8e3613fda75b358b156bfa7400678b18
3
+ metadata.gz: 9ceea789851cd653474986dcd23dd7a82747e92e
4
+ data.tar.gz: 79768dbdfa3cd89677b76aebdaa992717a938823
5
5
  SHA512:
6
- metadata.gz: fb74db9316439dd2235f59a851271540c2c2373ecc6edac777247ee97eab0c750edde845465034f0addc31266ba1ad85a16572d1d1f91bed1992a25e05c26bbc
7
- data.tar.gz: 9d09c9e4488ea8432a0bd640600560c0897bd36c1467e6efd196c6685f375911ff600f3c355f1cdb476790c1e22e503ae950392257ea0af29ae8a6086ad34ac5
6
+ metadata.gz: 090c7a58f5eeb6ca6926e403b3253da4491a16251be6a4b6ec50d2e4e634179d596358cab71b67e7804c111ebb51c04aab2143bf11a148f0744684bbe14daa4d
7
+ data.tar.gz: 29d89a470b26df41e57f018be41e55cb2d79d344416cbdc82842a28e49f4f2a94364da56851734861bd705410b71e22850e69bde73cb2c75260eab71b7894e21
@@ -53,13 +53,27 @@ if defined?(ActiveAdmin)
53
53
  show do
54
54
  attributes_table do
55
55
  row :name
56
+ row :bio do
57
+ raw author.bio_html
58
+ end
59
+ row :profile_photo do
60
+ if author.profile_photo.exists?
61
+ img src: author.profile_photo.url(:small)
62
+ else
63
+ "No Profile Photo"
64
+ end
65
+ end
66
+ row :cover_photo do
67
+ if author.cover_photo.exists?
68
+ img src: author.cover_photo.url(:small)
69
+ else
70
+ "No Cover Photo"
71
+ end
72
+ end
56
73
  row :location
57
74
  row :website
58
75
  row :created_at
59
76
  row :updated_at
60
- row :bio do |author|
61
- raw author.bio_html
62
- end
63
77
  end
64
78
  active_admin_comments
65
79
  end
@@ -82,6 +82,13 @@ if defined?(ActiveAdmin)
82
82
  end
83
83
  end
84
84
  row :published_at
85
+ row :image do
86
+ if post.image.exists?
87
+ img src: post.image.url(:small)
88
+ else
89
+ "No Image"
90
+ end
91
+ end
85
92
  row :created_at
86
93
  row :updated_at
87
94
  row :tags do
@@ -1,3 +1,3 @@
1
1
  module Blogelator
2
- VERSION = "1.0.5".freeze
2
+ VERSION = "1.0.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogelator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison