Sha256: f8bdd2927b7531365553e327abcd7be1da365a5c634e0e005fb82d5a3b3eff05

Contents?: true

Size: 208 Bytes

Versions: 8

Compression:

Stored size: 208 Bytes

Contents

- if message.is_unread_for?(@box.parent)
  = message_toggle message, 'eye-open', :read, :mark_as_name.l(name: :read.l)
- else
  = message_toggle message, 'eye-close', :unread, :mark_as_name.l(name: :unread.l)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
message_train-0.1.7 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.6 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.5 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.4 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.3 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.2 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.1 app/views/message_train/messages/_read_toggle.html.haml
message_train-0.1.0 app/views/message_train/messages/_read_toggle.html.haml