codecombat/app/templates/play/level/modal/infinite_loop.jade
Imperadeiro98 8e8a3103d5 Refactor to use view in template for issue #3138
This removes getRenderData from: CareersView, SaveCampaignModal,
InfiniteLoopModal, SpellListEntryThangsView, SaveLoadView,
PlaySettingsModal and JobProfileCodeModal.
2015-11-09 21:29:27 +00:00

20 lines
1.5 KiB
Text

extends /templates/core/modal-base
block modal-header-content
if view.options.nonUserCodeProblem
h3(data-i18n="play_level.non_user_code_problem_title") Unable to Load Level
else
h3(data-i18n="play_level.infinite_loop_title") Infinite Loop Detected
block modal-body-content
.modal-body
p(data-i18n="play_level.infinite_loop_description") The initial code to build the world never finished running. It's probably either really slow or has an infinite loop. Or there might be a bug. You can either try running this code again or reset the code to the default state. If that doesn't fix it, please let us know.
p
span.spr(data-i18n="play_level.check_dev_console") You can also open the developer console to see what might be going wrong.
a(href="http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers/77337#77337", data-i18n="play_level.check_dev_console_link", target="_blank") (instructions)
block modal-footer-content
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="play_level.infinite_loop_try_again").btn#restart-level-infinite-loop-retry-button Try Again
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="play_level.infinite_loop_reset_level").btn.btn-danger#restart-level-infinite-loop-confirm-button Reset Level
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="play_level.infinite_loop_comment_out").btn.btn-primary#restart-level-infinite-loop-comment-button Comment Out My Code