2014-11-29 14:39:37 -05:00
|
|
|
extends /templates/core/modal-base
|
2014-03-02 21:21:42 -05:00
|
|
|
|
2014-03-16 11:46:00 -04:00
|
|
|
block modal-header-content
|
|
|
|
h3
|
|
|
|
span(data-i18n="play_level.victory_title_prefix")
|
|
|
|
span= levelName
|
|
|
|
span(data-i18n="play_level.victory_title_suffix") Complete
|
2014-03-02 21:21:42 -05:00
|
|
|
|
2014-03-16 11:46:00 -04:00
|
|
|
block modal-body-content
|
|
|
|
img.victory-banner(src="/images/level/victory.png", alt="")
|
|
|
|
div!= body
|
2014-01-27 19:59:34 -05:00
|
|
|
|
2014-03-16 13:06:47 -04:00
|
|
|
block modal-footer-content
|
|
|
|
if readyToRank
|
2014-05-17 14:55:41 -04:00
|
|
|
.ladder-submission-view
|
2016-07-15 12:53:08 -04:00
|
|
|
else if level.isType('ladder')
|
2014-10-09 09:29:48 -04:00
|
|
|
a.btn.btn-primary(href="/play/ladder/#{level.get('slug')}#my-matches", data-dismiss="modal", data-i18n="play_level.victory_return_to_ladder") Return to Ladder
|
2014-09-23 00:50:48 -04:00
|
|
|
else
|
|
|
|
a.btn.btn-primary(href="/", data-dismiss="modal", data-i18n="play_level.victory_go_home") Go Home
|
2014-03-16 13:06:47 -04:00
|
|
|
if me.get('anonymous')
|
|
|
|
p.sign-up-poke
|
2014-12-08 16:45:01 -05:00
|
|
|
button.btn.btn-success.sign-up-button.btn-large(data-dismiss="modal", data-i18n="play_level.victory_sign_up") Sign Up to Save Progress
|
2014-05-22 14:24:07 -04:00
|
|
|
span(data-i18n="play_level.victory_sign_up_poke") Want to save your code? Create a free account!
|
2014-03-16 13:06:47 -04:00
|
|
|
p.clearfix
|
|
|
|
else
|
|
|
|
div.rating.secret
|
|
|
|
span(data-i18n="play_level.victory_rate_the_level") Rate the level:
|
|
|
|
i.icon-star-empty
|
|
|
|
i.icon-star-empty
|
|
|
|
i.icon-star-empty
|
|
|
|
i.icon-star-empty
|
|
|
|
i.icon-star-empty
|
|
|
|
if !me.get('anonymous')
|
|
|
|
div.review.secret
|
|
|
|
span(data-i18n="play_level.victory_review") Tell us more!
|
|
|
|
br
|
|
|
|
textarea
|
|
|
|
div.share-buttons
|
|
|
|
.g-plusone(data-href="http://codecombat.com", data-size="medium")
|
|
|
|
.fb-like(data-href="https://www.facebook.com/codecombat", data-send="false", data-layout="button_count", data-width="350", data-show-faces="true", data-ref="coco_victory_#{fbRef}")
|
|
|
|
a.twitter-follow-button(href="https://twitter.com/CodeCombat", data-show-count="true", data-show-screen-name="false", data-dnt="true", data-align="right", data-i18n="nav.twitter_follow") Follow
|
2015-04-18 19:02:18 -04:00
|
|
|
iframe.github-star-button(src="https://ghbtns.com/github-btn.html?user=codecombat&repo=codecombat&type=watch&count=true", allowtransparency="true", frameborder="0", scrolling="0", width="110", height="20")
|