Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<div class="scrollbar">
	<ol class="tree">
		#foreach($object in $allobjects) #if($object.isDirectory())
		<li>
			<label for="$object.toString()">
				<a style="color: #333"
					href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()">$object.toString()</a>
				<a
					href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()/ZIP" target="_blank">
					<i class="fa fa-download" title="download as zip"></i>
				</a>
			</label>
		</li>
		#else
		<li class="myfile">
			<a style="color: #333" id="$object.toString()"
				href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()">$object.toString()</a>
			<a
				href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()/DOWNLOAD" target="_blank">
				<i class="fa fa-download" title="download"></i>
			</a>
		</li>
		#end #end
	</ol>
</div>
New to GrepCode? Check out our FAQ X