2014-03-12 11:03:36 -04:00
|
|
|
extends /templates/modal/modal_base
|
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
if dataList
|
|
|
|
h3
|
|
|
|
span(data-i18n="general.version_history_for") Version History for:
|
|
|
|
|"#{dataList[0].name}"
|
|
|
|
|
|
|
|
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
|
2014-05-08 13:54:39 -04:00
|
|
|
th
|
2014-03-12 11:03:36 -04:00
|
|
|
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
|
2014-05-08 13:54:39 -04:00
|
|
|
td
|
|
|
|
input(type="checkbox", value=data._id).select
|
2014-03-12 11:03:36 -04:00
|
|
|
td
|
|
|
|
a(href="/editor/#{page}/#{data.slug || data._id}")
|
|
|
|
| #{data.name}
|
|
|
|
td #{data.version.major}.#{data.version.minor}
|
|
|
|
td #{data.commitMessage}
|
|
|
|
|
2014-05-08 13:54:39 -04:00
|
|
|
div.delta-container
|
|
|
|
div.delta-view
|
|
|
|
|
2014-03-10 18:17:19 -04:00
|
|
|
block modal-footer-content
|