mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
20 lines
488 B
Text
20 lines
488 B
Text
|
extends /templates/common/table
|
||
|
|
||
|
block tableHeader
|
||
|
tr
|
||
|
th(data-i18n="general.name") Name
|
||
|
th(data-i18n="general.description") Description
|
||
|
th(data-i18n="polls.priority") Priority
|
||
|
th(data-i18n="general.date") Date
|
||
|
|
||
|
block tableBody
|
||
|
for data in documents
|
||
|
- data = data.attributes;
|
||
|
tr
|
||
|
td
|
||
|
a(href="/editor/poll/#{data.slug || data._id}")
|
||
|
| #{data.name}
|
||
|
td= data.description
|
||
|
td= data.priority
|
||
|
td= moment(data.created).fromNow()
|