]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/web/views/download.tmpl
Feat(web): Catch and report errors on downloading
[m_librarian.git] / m_librarian / web / views / download.tmpl
index cf7e5bfae0930e58a7a5df7f37dfca0581268194..f9bf363697e803eb280e6cd65b1998ba05734b68 100644 (file)
@@ -4,5 +4,9 @@
 #def body
 <h1>$title</h1>
 
+#if $getVar('error', None)
+<p style="color: red">$error</p>
+#else
 <p>$message</p>
+#end if
 #end def