mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
Hotfix for issue #30
This commit is contained in:
parent
c14c55e382
commit
eba0665616
1 changed files with 21 additions and 0 deletions
21
app/templates/kinds/table.jade
Executable file
21
app/templates/kinds/table.jade
Executable file
|
@ -0,0 +1,21 @@
|
|||
table.table
|
||||
tr
|
||||
th(colspan=3)
|
||||
span(data-i18n="general.results")
|
||||
| Results
|
||||
span
|
||||
|: #{documents.length}
|
||||
|
||||
tr
|
||||
th(data-i18n="general.name") Name
|
||||
th(data-i18n="general.description") Description
|
||||
th(data-i18n="general.version") Version
|
||||
|
||||
for data in documents
|
||||
- data = data.attributes;
|
||||
tr
|
||||
td
|
||||
a(href="/editor/#{page}/#{data.slug || data._id}")
|
||||
| #{data.name}
|
||||
td.body-row #{data.description}
|
||||
td #{data.version.major}.#{data.version.minor}
|
Loading…
Add table
Reference in a new issue