mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-05 13:21:10 -05:00
19 lines
488 B
Text
19 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()
|