Browse Source

fixed dataset template

master
rdrew 2 years ago
parent
commit
1fa27d21a9
  1. 10
      templates/content/node--islandora-rdm-dataset.html.twig

10
templates/content/node--islandora-rdm-dataset.html.twig

@ -45,10 +45,10 @@ set node_classes = [
{#Dummy Content#} {#Dummy Content#}
{#=============#} {#=============#}
<hr> <hr>
<h3>Rob's dummy content</h3> {#<h3>Rob's dummy content</h3>#}
<section class="citation-block"> <section class="citation-block">
<div class="icon"><i class="ficon-file"></i></div> <div class="icon"><i class="ficon-file"></i></div>
<div class="data-citation"><h3>Title</h3> <div class="data-citation"><h3>{{ label }}</h3>
<span> <span>
Elit consequatur quasi expedita sint consectetur. Ipsa obcaecati sed dolores exercitationem iste Voluptate ipsam nihil aperiam numquam asperiores Sequi iste ad commodi eligendi sunt? Amet possimus ratione est exercitationem blanditiis? Elit consequatur quasi expedita sint consectetur. Ipsa obcaecati sed dolores exercitationem iste Voluptate ipsam nihil aperiam numquam asperiores Sequi iste ad commodi eligendi sunt? Amet possimus ratione est exercitationem blanditiis?
</span></div> </span></div>
@ -96,24 +96,30 @@ set node_classes = [
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
{% if content.field_rdm_publication_title[0] is not empty %}
<tr id="title"> <tr id="title">
<th class="label" scope="row">Title:</th> <th class="label" scope="row">Title:</th>
<td> <td>
<div>{{ content.field_rdm_publication_title }}</div> <div>{{ content.field_rdm_publication_title }}</div>
</td> </td>
</tr> </tr>
{% endif %}
{% if content.field_gemini_uri[0] is not empty %}
<tr id="uri"> <tr id="uri">
<th class="label" scope="row">Fedora URI:</th> <th class="label" scope="row">Fedora URI:</th>
<td> <td>
<div>{{ content.field_gemini_uri }}</div> <div>{{ content.field_gemini_uri }}</div>
</td> </td>
</tr> </tr>
{% endif %}
{% if content.field_rdm_publication_link[0] is not empty %}
<tr id="publication_link"> <tr id="publication_link">
<th class="label" scope="row">Publication Link:</th> <th class="label" scope="row">Publication Link:</th>
<td> <td>
<div>{{ content.field_rdm_publication_link }}</div> <div>{{ content.field_rdm_publication_link }}</div>
</td> </td>
</tr> </tr>
{% endif %}
{% if content.field_organization[0] is not empty %} {% if content.field_organization[0] is not empty %}
<tr id="organization"> <tr id="organization">
<th class="label" scope="row">Organization:</th> <th class="label" scope="row">Organization:</th>

Loading…
Cancel
Save