Merge pull request #708 from basvandijk/remove-logdiff-button

Remove the "log diff" buttons
This commit is contained in:
Eelco Dolstra 2020-01-27 14:36:56 +01:00 committed by GitHub
commit 9da60e3c66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -292,11 +292,9 @@ END;
<th>Last successful build [% INCLUDE renderDateTime timestamp = prevSuccessfulBuild.timestamp %]</th> <th>Last successful build [% INCLUDE renderDateTime timestamp = prevSuccessfulBuild.timestamp %]</th>
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %] [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]
<th>First broken build [% INCLUDE renderDateTime timestamp = firstBrokenBuild.timestamp %] <th>First broken build [% INCLUDE renderDateTime timestamp = firstBrokenBuild.timestamp %]
<a class="btn btn-mini" href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id firstBrokenBuild.id ) %]">log diff</a>
</th> </th>
[% END %] [% END %]
<th>This build [% INCLUDE renderDateTime timestamp = build.timestamp %] <th>This build [% INCLUDE renderDateTime timestamp = build.timestamp %]
<a class="btn btn-mini" href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id build.id) %]">log diff</a>
</th> </th>
</thead> </thead>
<tr> <tr>