Skip to content

Commit

Permalink
Clean up manuscript-info.template.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Jan 11, 2024
1 parent 3bb3854 commit 7e066c9
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,27 @@ <h3 class="h4"><%- name %></h3>
<dt>Provenance</dt>
<dd><%= provenance %></dd>
<% if (description) { %>
<dt>Description</dt>
<dd><pre class="preformatted-text"><%= description %></pre></dd>
<dt>Description</dt>
<dd><pre class="preformatted-text"><%= description %></pre></dd>
<% } %>
</dl>

<% if (imageAttribution || imageLicence || imageLogoUrl) { %>
<h3 class="h4">Image Rights</h3>
<% if (imageAttribution ) { %>
<div>
<%= imageAttribution %></dd>
<%= imageAttribution %>
</div>
<% } %>
<% if (imageLogoUrl) { %>
<div>
<img src="<%= imageLogoUrl %>" alt="Logo of the image source institution" style="max-width: 300px; max-height: 100px; margin-top: 8px; margin-bottom: 8px;"/>
<img src="<%= imageLogoUrl %>" alt="Logo of the image source institution" style="max-width: 300px; max-height: 100px; margin-top: 8px; margin-bottom: 8px;"/>
</div>
<% } %>
<% if (imageLicence) { %>
<div>
<a href="<%= imageLicence %>" target="_blank">Click for licence information.</a>
</div>
<a href="<%= imageLicence %>" target="_blank">Click for licence information.</a>
</div>
<% } %>
<% } %>

</div>

0 comments on commit 7e066c9

Please sign in to comment.