built.tt: Handle the case where the original build is not known
And remove some parentheses.
This commit is contained in:
parent
9ac363d32a
commit
e0c411220e
|
@ -143,7 +143,7 @@
|
||||||
[% IF build.iscachedbuild %]
|
[% IF build.iscachedbuild %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Cached from:</th>
|
<th>Cached from:</th>
|
||||||
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
<td>[% IF cachedBuild; INCLUDE renderFullBuildLink build=cachedBuild; ELSE %]<em>unknown</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF build.finished %]
|
[% IF build.finished %]
|
||||||
|
@ -266,23 +266,23 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Short description:</th>
|
<th>Short description:</th>
|
||||||
<td>[% IF build.description %][% HTML.escape(build.description) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
<td>[% IF build.description %][% HTML.escape(build.description) %][% ELSE %]<em>not given</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Long description:</th>
|
<th>Long description:</th>
|
||||||
<td>[% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
<td>[% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %]<em>not given</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>License:</th>
|
<th>License:</th>
|
||||||
<td>[% IF build.license %][% HTML.escape(build.license) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
<td>[% IF build.license %][% HTML.escape(build.license) %][% ELSE %]<em>not given</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Homepage:</th>
|
<th>Homepage:</th>
|
||||||
<td>[% IF build.homepage %]<a [% HTML.attributes(href => build.homepage) %]>[% HTML.escape(build.homepage) %]</a>[% ELSE %]<em>(not given)</em>[% END %]</td>
|
<td>[% IF build.homepage %]<a [% HTML.attributes(href => build.homepage) %]>[% HTML.escape(build.homepage) %]</a>[% ELSE %]<em>not given</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Maintainer(s):</th>
|
<th>Maintainer(s):</th>
|
||||||
<td>[% IF build.maintainers %][% HTML.escape(build.maintainers) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
<td>[% IF build.maintainers %][% HTML.escape(build.maintainers) %][% ELSE %]<em>not given</em>[% END %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>System:</th>
|
<th>System:</th>
|
||||||
|
|
Loading…
Reference in a new issue