mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 16:47:58 -05:00
ca09381d42
Moved the code diff control to the top of the list, and added a short instructional message.
33 lines
No EOL
822 B
Text
Executable file
33 lines
No EOL
822 B
Text
Executable file
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}"
|
|
p
|
|
|Select two changes below to see the difference.
|
|
|
|
div.delta-container
|
|
div.delta-view
|
|
|
|
block modal-body-content
|
|
if dataList
|
|
table.table.table-condensed
|
|
tr
|
|
th
|
|
th
|
|
th
|
|
th
|
|
th(data-i18n="general.commit_msg") Commit Message
|
|
for data in dataList
|
|
tr
|
|
td
|
|
input(type="checkbox", value=data._id).select
|
|
td
|
|
a(href="/editor/#{page}/#{data._id}") #{data.version.major}.#{data.version.minor}
|
|
td= moment(data.created).format('l')
|
|
td= data.creator
|
|
td #{data.commitMessage}
|
|
|
|
block modal-footer-content |