temporary disable PDF export

pull/625/head
Thibault Duplessis 2014-11-12 03:35:42 +01:00
parent 80f167d2dc
commit efa862586a
2 changed files with 3 additions and 1 deletions

View File

@ -118,8 +118,10 @@ openGraph = povOpenGraph(pov)) {
/
<a data-icon="x" href="@routes.Export.pgn(game.id)?as=imported"> Download imported</a>
}
@*
/
<a data-icon="x" target="_blank" rel="nofollow" href="@cdnUrl(routes.Export.pdf(game.id).url)"> Print-friendly PDF</a>
*@
</p>
<div class="pgn">@Html(nl2br(escape(pgn)))</div>
</div>

View File

@ -138,7 +138,7 @@ POST /$gameId<\w{8}>/better-analysis/$color<white|black> controllers.Analyse.be
POST /$gameId<\w{8}>/post-analysis controllers.Analyse.postAnalysis(gameId: String)
GET /game/pgn/$gameId<\w{8}>.pgn controllers.Export.pgn(gameId: String)
GET /game/export/pdf/$gameId<\w{8}>.pdf controllers.Export.pdf(gameId: String)
# GET /game/export/pdf/$gameId<\w{8}>.pdf controllers.Export.pdf(gameId: String)
GET /game/export/png/$gameId<\w{8}>.png controllers.Export.png(gameId: String)
# Pref