summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDate.jade
blob: 2e44750678b097579c0b9372c96dce66b7f88b6f (plain)
1
2
3
4
5
6
7
8
9
10
template(name="dateBadge")
  if canModifyCard
    a.js-edit-date.card-date(title="{{showTitle}}" class="{{classes}}")
      time(datetime="{{showISODate}}")
        | {{showDate}}
  else
    a.card-date(title="{{showTitle}}" class="{{classes}}")
      time(datetime="{{showISODate}}")
        | {{showDate}}