sunrise-cms/views/funeralHome-view.ejs

69 lines
2.1 KiB
Plaintext

<%- include('_header'); -%>
<nav class="breadcrumb">
<ul>
<li><a href="<%= urlPrefix %>/dashboard">Home</a></li>
<li>
<a href="<%= urlPrefix %>/funeralHomes">
<span class="icon is-small"><i class="fas fa-place-of-worship" aria-hidden="true"></i></span>
<span>Funeral Homes</span>
</a>
</li>
<li class="is-active">
<a href="#" aria-current="page">
<%= funeralHome.funeralHomeName || "(No Name)" %>
</a>
</li>
</ul>
</nav>
<h1 class="title is-1">
<%= funeralHome.funeralHomeName || "(No Name)" %>
</h1>
<div class="columns is-vcentered p-0 is-fixed-bottom has-background-white has-shadow is-hidden-print">
<div class="column">
<span class="has-text-weight-bold">
<%= funeralHome.funeralHomeName || "(No Name)" %>
</span>
</div>
<div class="column is-narrow has-text-right">
<% if (user.userProperties.canUpdate) { %>
<a class="button is-primary"
href="<%= urlPrefix %>/funeralHomes/<%= funeralHome.funeralHomeId %>/edit"
accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span>
<span class="is-hidden-tablet">Edit</span>
</a>
<% } %>
</div>
</div>
<div class="panel">
<div class="panel-block is-block">
<div class="columns">
<div class="column">
<strong>Address</strong><br />
<% if (funeralHome.funeralHomeAddress1 !== "") { %>
<%= funeralHome.funeralHomeAddress1 %><br />
<% } %>
<% if (funeralHome.funeralHomeAddress2 !== "") { %>
<%= funeralHome.funeralHomeAddress2 %><br />
<% } %>
<%= funeralHome.funeralHomeCity %>, <%= funeralHome.funeralHomeProvince %><br />
<%= funeralHome.funeralHomePostalCode %>
</div>
<% if (funeralHome.funeralHomePhoneNumber !== "") { %>
<div class="column">
<strong>Phone Number</strong><br />
<%= funeralHome.funeralHomePhoneNumber %>
</div>
<% } %>
</div>
</div>
</div>
<%- include('_footerA'); -%>
<%- include('_footerB'); -%>