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 +4 -4
- data/lib/blogelator/admin/author.rb +17 -3
- data/lib/blogelator/admin/post.rb +7 -0
- data/lib/blogelator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ceea789851cd653474986dcd23dd7a82747e92e
|
4
|
+
data.tar.gz: 79768dbdfa3cd89677b76aebdaa992717a938823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/blogelator/version.rb
CHANGED