hino / app / templates / news-management / preview.hbs
preview.hbs
Raw
<AppBarTop @leftRoute="notification.index" @title="Notification Detail" />
<section class="content-body">
	<div class="container">
		<div class="row">
			<div class="col-12">
				<div class="notification-detail-body">
					<img class="notification-image" src="{{apiURL}}/{{model.image.id}}" />
					<div class="notification-detail-content">
						<p class="notification-detail-title">{{ model.tittle }}</p>
						<p class="notification-detail-date">{{ if (and (not-eq model.startTime null) (not (is-empty model.startTime))) (moment-format model.startTime "DD-MM-YYYY") ""}}</p>
						<div class="notification-detail-description">{{{ model.message }}}</div>
						<div class="embed-responsive embed-responsive-16by9">
							<iframe class="embed-responsive-item" src="{{ model.videoURL }}" allowfullscreen></iframe>
						</div>
						<div class="detail-row-view">
							<span for="fileattachment">File Attachment</span>
							<span class="data"><a href="{{apiURL}}/{{ model.fileAttachment.id }}">{{ model.fileAttachment.originalFilename }}</a></span>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>