Blame view

test/FitNesseRoot/files/templates/suiteOverviewNode.vm 1.13 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#foreach($branch in $branch.getBranches())
  #if ($branch.isTest())
    <div class="completion_test"><a href="$branch.getHistoryUrl()" class="$branch.getCssClass()">$branch.getName()</a></div>
  #else
  	
  	<div>
	  	<a href="javascript:toggleCollapsable('$branch.getFullName()');">
			<img id="img$branch.getFullName()" class="left" src="/files/images/collapsableClosed.gif">
		</a>  	
	  	<div class="meta completion_folder"><span class="$branch.getCssClass()"> <a href="$branch.getHistoryUrl()" class="$branch.getCssClass()">$branch.getName()</a></span>  (
		  	#if ($branch.getTestsPassed() != 0)
			  	 <span class="passed_tests"> $branch.getTestsPassed() &nbsp; $branch.getPassedPercentString()</span>
			#end
		  	#if ($branch.getTestsUnrun() != 0)
			  	 <span class="unrun_tests">$branch.getTestsUnrun() &nbsp; $branch.getUnrunPercentString()</span>
			#end
		  	#if ($branch.getTestsFailed() != 0)
			  	 <span class="failed_tests">$branch.getTestsFailed() &nbsp; $branch.getFailedPercentString()</span>
			#end
			)
		</div>
		<div id="$branch.getFullName()" class="hidden">      
		#parse("suiteOverviewNode.vm")
		</div>
	</div>
  #end
#end