Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html>
<html>
	<head>
		<title>Metadata - $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")

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

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

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

				#if($entity.getParentDirectory().toString() != "/")

				<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()/">Up to Parent Directory</a>
						</label>
					</ol>
				</div>
				#end
				#parse("de/ipk_gatersleben/bit/bi/edal/primary_data/tree_snapshot.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()/DOWNLOAD" target="_blank">
									<i class="fa fa-download"></i>
									Download
								</a>
								<a class="btn btn2 btn-default btn-sm" href="#">
									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