Logo
Explore Privacy Policy Terms of Service Help
Sign In
ahuston-0/hydra
1
0
Fork 0
You've already forked hydra
Code Issues Pull Requests 1 Packages Projects Releases Wiki Activity
hydra/src/root/error.tt

9 lines
221 B
Plaintext
Raw Normal View History

Give every page a consistent title
2013-02-20 15:54:33 +01:00
[% WRAPPER layout.tt title=(httpStatus ? httpStatus : "Error") %]
2008-11-13 14:54:50 +00:00
[% USE HTML %]
* Start of a basic Catalyst web interface.
2008-10-28 10:19:31 +00:00
* Put the project-related actions in a separate controller. Put the actions for viewing the job status and all builds in a separate base class that's inherited both by Root.pm and Project.pm so that we get URIs like /jobstatus and /project/<name>/jobstatus for free.
2009-03-04 10:59:14 +00:00
[% FOREACH error IN errors %]
Instead hard breaks in multi-line error messages
2013-10-03 18:05:37 +02:00
<div class="alert alert-error">[% HTML.escape(error).replace('\n', '<br/>') %]</div>
* Put the project-related actions in a separate controller. Put the actions for viewing the job status and all builds in a separate base class that's inherited both by Root.pm and Project.pm so that we get URIs like /jobstatus and /project/<name>/jobstatus for free.
2009-03-04 10:59:14 +00:00
[% END %]
* Start of a basic Catalyst web interface.
2008-10-28 10:19:31 +00:00
[% END %]
Reference in New Issue Copy Permalink
Powered by Gitea Page: 74ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API