forked from lix-project/hydra
This commit is contained in:
parent
e742833da3
commit
147b980028
|
@ -328,7 +328,7 @@ sub nixlog :Local {
|
||||||
return error($c, "Build step $stepnr of build $id does not have a log file.") if $step->logfile eq "";
|
return error($c, "Build step $stepnr of build $id does not have a log file.") if $step->logfile eq "";
|
||||||
|
|
||||||
$c->stash->{template} = 'log.tt';
|
$c->stash->{template} = 'log.tt';
|
||||||
$c->stash->{id} = $id;
|
$c->stash->{build} = $build;
|
||||||
$c->stash->{step} = $step;
|
$c->stash->{step} = $step;
|
||||||
|
|
||||||
# !!! should be done in the view (as a TT plugin).
|
# !!! should be done in the view (as a TT plugin).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[% WRAPPER layout.tt title="Hydra Overview" %]
|
[% WRAPPER layout.tt title="Hydra Overview" %]
|
||||||
|
|
||||||
<h1>Logfile for <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% build.id %]</h1>
|
<h1>Logfile for <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% build.id %][%IF step %], step [% step.stepnr %] (<tt>[% step.outpath %]</tt>)[% END %]</h1>
|
||||||
|
|
||||||
<div class="buildlog">
|
<div class="buildlog">
|
||||||
[% logtext -%]
|
[% logtext -%]
|
||||||
|
|
|
@ -79,3 +79,7 @@ em.storeref:hover span.popup {
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prio3 {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
|
@ -65,6 +65,9 @@
|
||||||
<xsl:if test="@error">
|
<xsl:if test="@error">
|
||||||
<xsl:attribute name="class">errorLine</xsl:attribute>
|
<xsl:attribute name="class">errorLine</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:if test="@priority = 3">
|
||||||
|
<xsl:attribute name="class">prio3</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</code>
|
</code>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
Loading…
Reference in a new issue