Sha256: ff4a7fc7ca1b0d6c63f1d714a17a4778e96ac04881fd62b7000c729cc2336380

Contents?: true

Size: 258 Bytes

Versions: 59

Compression:

Stored size: 258 Bytes

Contents

# supports legacy references to <User>+*email
# (standard representation is now <User>+*account+*email)
view :raw do
  card.content_email || card.account_email || ""
end

def content_email
  content if real?
end

def account_email
  left&.account&.email
end

Version data entries

59 entries across 59 versions & 2 rubygems

Version Path
card-mod-account-0.14.2 set/type_plus_right/user/email.rb
card-mod-account-0.14.1 set/type_plus_right/user/email.rb
card-mod-account-0.14.0 set/type_plus_right/user/email.rb
card-mod-account-0.13.4 set/type_plus_right/user/email.rb
card-mod-account-0.13.3 set/type_plus_right/user/email.rb
card-mod-account-0.13.2 set/type_plus_right/user/email.rb
card-mod-account-0.13.1 set/type_plus_right/user/email.rb
card-mod-account-0.13.0 set/type_plus_right/user/email.rb
card-mod-account-0.11.7 set/type_plus_right/user/email.rb
card-mod-account-0.12.0 set/type_plus_right/user/email.rb
card-mod-account-0.11.6 set/type_plus_right/user/email.rb
card-mod-account-0.11.5 set/type_plus_right/user/email.rb
card-mod-account-0.11.4 set/type_plus_right/user/email.rb
card-mod-account-0.11.3 set/type_plus_right/user/email.rb
card-mod-account-0.11.2 set/type_plus_right/user/email.rb
card-mod-account-0.11.1 set/type_plus_right/user/email.rb
card-mod-account-0.11.0 set/type_plus_right/user/email.rb
card-1.100.0 mod/account/set/type_plus_right/user/email.rb
card-1.99.6 mod/account/set/type_plus_right/user/email.rb
card-1.99.5 mod/account/set/type_plus_right/user/email.rb