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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a693de7c53f9529c8ac7bf074ea581230e0f05dc9abac73a8d30dbce517e25bf
4
- data.tar.gz: 84da211e1a8f49ab2203e72739a74405dbc6e5c830710679da0101edbec818cb
3
+ metadata.gz: 92016ce179b88dd8a7e125ea321f7fbd063c62eba53ae985d15d597201c089b7
4
+ data.tar.gz: baf6b4270b2067b541167328f86081d70ae982f9d65312601728d8c477412e51
5
5
  SHA512:
6
- metadata.gz: fa65916f53a146e2b92987757dd79691b1d6c8917749b48114efe375d1174368258882057a73337bac1b60c57c838652f4bbeeacb1580b1aef481675ab8da69c
7
- data.tar.gz: c302b109b9f163cede8997dd1dc26865c495cfaba8931a3b2ccd1e15128a29b81d480d45db9b7449244f114f3fac301fd0c982ab0838bda6cd276caac9cf76fb
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
- = image_tag photo.photo.url(:thumb)
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?
@@ -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' })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.46
4
+ version: 0.1.1.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev