Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html>
<html>
	<head>
		<title>e!DAL - $entity.getVersionByDate($date).getName()</title>
		#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/header.xml")
	</head>
	<body>
		<div class="container-fluid">

			#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/top.xml")

			<div class="content">

				#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/description.xml")

				<hr style="margin:5px;" />

				<div id="ballsWaveG">
					Loading:
					<img src="$serverURL/FILEICONS/ajax-loader.gif"></img>
				</div>

				$entity.switchCurrentVersion($entity.getVersionByDate($date))$entity.getPath()

				#if($entity.getParentDirectory())

				<div style="margin-bottom:-12px">
					<ol class="tree">
						<label class="parent">
							<a style="color: #333"
								href="$serverURL/$identifierType/$internalId/$entity.getParentDirectory().getID()/$entity.getParentDirectory().getVersionByDate($date).getRevision()/$reviewerCode">Up to Parent Directory</a>
						</label>
					</ol>
				</div>
				#end

				#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/tree_reviewer.xml")

				<div id="file-content">
					<hr style="margin: 5px;" />
					<div class="row">
						<div class="col-md-12 collapse-group">
							<h4>
								<i class="fa fa-info-circle"></i>
								#set ($a= $entity)
								$a.switchCurrentVersion($entity.getVersionByDate($date))
								$a.getPath()

							</h4>
							<p>
								<a class="btn btn-default btn-sm"
									href="$serverURL/$identifierType/$internalId/$entity.getID()/$entity.getVersionByDate($date).getRevision()/$reviewerCode/ZIP"
									target="_blank">
									<i class="fa fa-download"></i>
									Download all as ZIP
								</a>
								<a class="btn btn2 btn-default btn-sm"
									href="$serverURL/$identifierType/$internalId/$entity.getID()/$entity.getVersionByDate($date).getRevision()/$reviewerCode/#">
									Metadata
									<i class="fa fa-forward"></i>
								</a>
							</p>
							<div class="table-responsive small collapse">
								<table class="table table-striped table-hover">
									#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/metadata.xml")

								</table>
							</div>
						</div>
					</div>
					<hr style="margin: 5px;" />
					#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/version_information.xml")
				</div>
			</div>
		</div>
		<script src="$serverURL/JS/script.js"></script>
	</body>
</html>
New to GrepCode? Check out our FAQ X