gonito/templates/timeline-item.hamlet

14 lines
600 B
Plaintext
Raw Normal View History

2016-05-03 08:46:10 +02:00
$case item
2016-05-03 22:14:55 +02:00
$of TimelineItem identifier when (Entity whoId who) what
<a name="#{identifier}">
2016-05-03 08:46:10 +02:00
<div class="row timeline-item">
<div class="col-sm-1">
<div class="timeline-item-thumbnail">
2016-05-03 10:21:40 +02:00
<img class="img-responsive user-photo" src=@{AvatarR whoId}>
2016-05-03 08:46:10 +02:00
<div class="col-sm-11">
<div .timeline-item-panel>
<div class="timeline-item-panel-heading">
<strong>#{formatSubmitter who}
<span class="text-muted">&nbsp;&nbsp;#{formatTime defaultTimeLocale "%Y-%m-%d %H:%M" when}
<div class="timeline-item-panel-body">#{what}