rosa-build/app/views/shared/_feed_message.html.haml

22 lines
698 B
Plaintext
Raw Normal View History

.activity
.top
2012-02-29 15:04:33 +00:00
- if presenter.buttons?
%span.buttons= raw presenter.buttons.join(' | ').html_safe
.image
%img{:alt => "avatar", :src => presenter.image}
2012-02-29 23:29:16 +00:00
.text
-#.imaged move up a line.
%span.name= presenter.header
2012-02-29 15:04:33 +00:00
.both
%span.date= presenter.date
%br/
%span.subject
= presenter.caption
- if presenter.expandable? and presenter.content?
%span.data-expander.collapsed{:id => "expand#{item_no}"}  
.both
- if presenter.content?
.fulltext{:class => presenter.expandable? ? "hidden" : '',
:id => presenter.expandable? ? "content-expand#{item_no}" : ''}
= presenter.content