hydra/src/root/dashboard-my-jobs-tab.tt
2013-11-05 16:05:29 +01:00

18 lines
482 B
Plaintext

[% PROCESS common.tt %]
[% IF builds.size == 0 %]
<div class="alert alert-warning">You are not the maintainer of any
job. You can become a maintainer by setting the
<tt>meta.maintainer</tt> field of a job to <tt>[%
HTML.escape(user.emailaddress) %]</tt>.</div>
[% ELSE %]
<p>Below are the most recent builds of the [% builds.size %] jobs of which you
(<tt>[% HTML.escape(user.emailaddress) %]</tt>) are a maintainer.</p>
[% INCLUDE renderBuildList %]
[% END %]