Show timedout errors properly

This commit is contained in:
James Allen 2014-07-28 10:22:27 +01:00
parent bb55d8f406
commit ce47f75058

View file

@ -69,12 +69,12 @@ div.full-size.pdf(ng-controller="PdfController")
i.fa.fa-level-up.fa-flip-horizontal.fa-2x i.fa.fa-level-up.fa-flip-horizontal.fa-2x
|   Click here to preview your work as a PDF. |   Click here to preview your work as a PDF.
.pdf-errors(ng-show="pdf.timeout || pdf.error") .pdf-errors(ng-show="pdf.timedout || pdf.error")
.alert.alert-danger(ng-show="pdf.error") .alert.alert-danger(ng-show="pdf.error")
strong Server Error. strong Server Error.
span Sorry, something went wrong and your project could not be compiled. Please try again in a few moments. span Sorry, something went wrong and your project could not be compiled. Please try again in a few moments.
.alert.alert-danger(ng-show="pdf.timeout") .alert.alert-danger(ng-show="pdf.timedout")
strong Timed out. strong Timed out.
span Sorry, your compile was taking too long and timed out. span Sorry, your compile was taking too long and timed out.
| This may be due to a large number of high-res images, or lots of complicated diagrams. | This may be due to a large number of high-res images, or lots of complicated diagrams.