codecombat/app/templates/editor/article/versions.jade

20 lines
432 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block content
if articles.length
h3 Version History for: "#{articles[0].name}"
table.table
tr
th Name
th Version
th Commit Message
for article in articles
tr
td
a(href="/editor/article/#{article.slug || article._id}")
| #{article.name}
td #{article.version.major}.#{article.version.minor}
td #{article.commitMessage}