DTP Base provides a scalable and secure Node.js application development harness ready for production service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
446 B

mixin renderTaskList (tasks)
ul.uk-list.uk-list-divider
each task in tasks
li
a(href=`/task/${task._id}`).uk-display-block.uk-link-reset
div(uk-grid).uk-grid-small.uk-flex-middle
.uk-width-expand= task.note
.uk-width-auto
.uk-text-small= numeral(task.duration).format('00:00:00')
.uk-text-small.uk-text-muted
span #{task.project.name}, #{task.client.name}