Vervis/templates/ticket/list.hamlet

38 lines
1 KiB
Text
Raw Normal View History

2016-05-01 01:02:44 +02:00
$# This file is part of Vervis.
$#
$# Written in 2016 by fr33domlover <fr33domlover@riseup.net>.
$#
$# ♡ Copying is an act of love. Please copy, reuse and share.
$#
$# The author(s) have dedicated all copyright and related and neighboring
$# rights to this software to the public domain worldwide. This software is
$# distributed without any warranty.
$#
$# You should have received a copy of the CC0 Public Domain Dedication along
$# with this software. If not, see
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
<h1>#{shar} :: #{proj} :: Tickets
<p>
<a href=@{TicketNewR shar proj}>Create new…
<table>
<tr>
<th>Number
2016-05-01 11:58:55 +02:00
<th>Author
2016-05-01 01:02:44 +02:00
<th>Title
<th>Done
2016-05-01 11:58:55 +02:00
$forall
(Value number, Value authorIdent, Value mAuthorName, Value title, Value done)
<- rows
2016-05-01 01:02:44 +02:00
<tr>
<td>
2016-05-01 11:58:55 +02:00
<a href=@{TicketR shar proj number}>#{number}
2016-05-01 01:02:44 +02:00
<td>
2016-05-01 11:58:55 +02:00
<a href=@{PersonR authorIdent}>#{fromMaybe authorIdent mAuthorName}
2016-05-01 01:02:44 +02:00
<td>
2016-05-01 11:58:55 +02:00
<a href=@{TicketR shar proj number}>#{title}
<td>
#{done}