wco_email 0.1.1.46 → 0.1.1.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/wco_email/messages/_meta.haml +3 -1
- data/lib/tasks/db_tasks.rake +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92016ce179b88dd8a7e125ea321f7fbd063c62eba53ae985d15d597201c089b7
|
4
|
+
data.tar.gz: baf6b4270b2067b541167328f86081d70ae982f9d65312601728d8c477412e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c28fe7d5fc5c74f9d9764601e5106ebfe0e0ed7745b4d0c7c6d8605be31777d6a6032531f29cbdfa3788876213763788f723f34d1da94b3657fc3acb88362393
|
7
|
+
data.tar.gz: 7d136d2e07998fd9ade589167dbce85f41404d55fef3e14f28377ec9579428c3ff9d8695d0b028ccc36821aba79cb04ba27970da177411716c7d0d172a26b8af
|
@@ -20,7 +20,9 @@
|
|
20
20
|
<b>n_images:</b> #{message.photos.length}
|
21
21
|
%br
|
22
22
|
- message.photos.each do |photo|
|
23
|
-
=
|
23
|
+
= link_to photo.photo.url(:original), target: :_blank do
|
24
|
+
%span.bordered.p-0= image_tag( photo.photo.url(:mini) )
|
25
|
+
= photo.photo.original_filename
|
24
26
|
%li
|
25
27
|
<b>n_assets:</b> #{message.assets.length}
|
26
28
|
- if !message.assets.blank?
|
data/lib/tasks/db_tasks.rake
CHANGED
@@ -22,6 +22,8 @@ namespace :db do
|
|
22
22
|
desc "seed"
|
23
23
|
task seed: :environment do
|
24
24
|
|
25
|
+
blank_email_template = WcoEmail::EmailTemplate.find_or_create_by({ slug: 'blank' })
|
26
|
+
|
25
27
|
inbox = Wco::Tag.find_or_create_by({ slug: 'inbox' })
|
26
28
|
trash = Wco::Tag.find_or_create_by({ slug: 'trash' })
|
27
29
|
spam = Wco::Tag.find_or_create_by({ slug: 'spam' })
|