consensus
Version:
vote for topics for your next meeting
23 lines (19 loc) • 486 B
text/jade
extends layout
mixin agendaRow(agenda)
tr
td
a(href="/agendas/#{agenda.key}")= agenda.title
td
a(href="/u/#{agenda.owner_id}")= agenda.owner_id
block content
h1 Relevant agendas
small for #{authed_user.name}
- if (!locals.agendas || locals.agendas.length === 0)
p You haven't expressed interest in any agendas.
- else
table.table.table-striped.table-bordered.color2
tr
th Name
th Owner
- each agenda in locals.agendas
+agendaRow(agenda)