mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
18 lines
462 B
Text
18 lines
462 B
Text
|
extends /templates/base
|
||
|
|
||
|
block content
|
||
|
|
||
|
h1 Latest Games
|
||
|
|
||
|
each session in sessions
|
||
|
- 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')
|