codecombat/app/templates/editor/modal/versions-modal.jade

34 lines
858 B
Text
Raw Normal View History

extends /templates/core/modal-base
2014-03-12 11:03:36 -04:00
block modal-header-content
if dataList
h3
span(data-i18n="general.version_history_for") Version History for:
|"#{dataList[0].name}"
2014-12-12 17:15:10 -05:00
p(data-i18n="general.select_changes")
|Select two changes below to see the difference.
div.delta-container
div.delta-view
2014-03-12 11:03:36 -04:00
block modal-body-content
if dataList
2014-04-17 14:22:33 -04:00
table.table.table-condensed
2014-03-12 11:03:36 -04:00
tr
th
th
th
th
2014-03-12 11:03:36 -04:00
th(data-i18n="general.commit_msg") Commit Message
for data in dataList
tr
td
input(type="checkbox", value=data._id).select
2014-09-02 14:07:58 -04:00
td
2014-11-29 17:42:37 -05:00
a(href="/editor/#{page}/#{data._id}") #{data.version.major}.#{data.version.minor}
td= moment(data.created).format('l')
td= data.creator
2014-03-12 11:03:36 -04:00
td #{data.commitMessage}
2014-12-12 17:15:10 -05:00
block modal-footer-content