gonito/templates/timeline-item.hamlet

13 lines
561 B
Plaintext
Raw Normal View History

2016-05-03 08:46:10 +02:00
$case item
$of TimelineItem when who what
<div class="row timeline-item">
<div class="col-sm-1">
<div class="timeline-item-thumbnail">
<img class="img-responsive user-photo" src="/static/images/male-avatar.svg">
<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}