mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
24 lines
No EOL
662 B
Text
Executable file
24 lines
No EOL
662 B
Text
Executable file
extends /templates/base
|
|
|
|
mixin version-history-title()
|
|
h3(data-i18n="general.version_history_for") Version History for: #{dataList[0]}
|
|
|
|
mixin version-history-body()
|
|
table.table
|
|
tr
|
|
th(data-i18n="general.name") Name
|
|
th(data-i18n="general.version") Version
|
|
th(data-i18n="general.commit_msg") Commit Message
|
|
for data in dataList
|
|
tr
|
|
td
|
|
a(href="/editor/#{page}/#{data.slug || data._id}")
|
|
| #{data.name}
|
|
td #{data.version.major}.#{data.version.minor}
|
|
td #{data.commitMessage}
|
|
|
|
block content
|
|
if dataList
|
|
+version-history-title()
|
|
|
|
+version-history-body() |