codecombat/app/templates/admin/level_sessions.jade

18 lines
474 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block content
2016-03-05 10:08:27 -05:00
h1 Latest Games
2014-01-03 13:32:13 -05:00
2015-12-21 10:51:46 -05:00
each session in view.sessions.models
2014-01-03 13:32:13 -05:00
- var url = '/play/level/'+session.get('levelID')+'?session='+session.id
.session_tile
a(href=url)
if session.get('screenshot')
img(src=session.get('screenshot'))
else
img(src="/images/generic-icon.png")
.session_info
.level_name= session.get('levelName')
.creator_name= session.get('creatorName')