From ab4f0911cee59a4a7955c6284e43786f70e41ab8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Jun 2012 14:55:24 +0000 Subject: [PATCH] Fix rendering of Subversion inputs in the Evaluations table Broken since commit 75277311ac03ac25e68aee4e0afcd949f262c894. Fixes #30. --- src/root/common.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index b160b348..bebedbbf 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -416,9 +416,9 @@ [% END %] -[% BLOCK renderShortEval -%] +[% BLOCK renderShortEvalInput -%] [%- IF input.type == "svn" || input.type == "svn-checkout" || input.type == "bzr" || input.type == "bzr-checkout" -%] - r[%- revision -%] + r[%- input.revision -%] [%- ELSIF input.type == "git" -%] [% input.revision.substr(0, 7) %] [%- ELSIF input.type == "build" || input.type == "sysbuild" -%] @@ -448,7 +448,7 @@ [%- IF e.changedInputs.size > 0 -%] [%- sep=''; FOREACH input IN e.changedInputs -%] - [%- sep %] [% input.name %] → [% INCLUDE renderShortEval input=input %] + [%- sep %] [% input.name %] → [% INCLUDE renderShortEvalInput input=input %] [%- sep=','; END -%] [%- ELSE -%] -