summaryrefslogtreecommitdiff
path: root/views/games_finished.pug
blob: df7f03850543c8e4913d2be57f6179f755c55a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title= SITE_NAME
	body
		include header
		article
			if user && user.user_id === who.user_id
				h1 Your finished games
			else
				h1 #{who.name}’s finished games

			if finished_games.length > 0
				+gamelist(finished_games)
			else
				p Nothing here.