2012-02-18 22:47:57 +00:00
|
|
|
.activity
|
|
|
|
.top
|
2012-02-29 15:04:33 +00:00
|
|
|
- if presenter.buttons?
|
|
|
|
%span.buttons= raw presenter.buttons.join(' | ').html_safe
|
2012-02-18 22:47:57 +00:00
|
|
|
.image
|
|
|
|
%img{:alt => "avatar", :src => presenter.image}
|
2012-02-29 23:29:16 +00:00
|
|
|
.text
|
|
|
|
-#.imaged move up a line.
|
2012-02-18 22:47:57 +00:00
|
|
|
%span.name= presenter.header
|
2012-02-29 15:04:33 +00:00
|
|
|
.both
|
2012-02-18 22:47:57 +00:00
|
|
|
%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
|