From 3f0d1fdce2b75364f10cec4c1a3bad2f1312ce29 Mon Sep 17 00:00:00 2001 From: rdrew Date: Tue, 14 Mar 2023 14:38:05 +0000 Subject: [PATCH] fixed dataset template --- .../node--islandora-rdm-dataset.html.twig | 60 +------------------ ... node--islandora-rdm-dataset.html.twig.bk} | 50 ++++++++++------ 2 files changed, 34 insertions(+), 76 deletions(-) rename templates/content/{node--islandora-rdm-dataset.html.twig_bk => node--islandora-rdm-dataset.html.twig.bk} (79%) diff --git a/templates/content/node--islandora-rdm-dataset.html.twig b/templates/content/node--islandora-rdm-dataset.html.twig index 740ef33..c50308e 100644 --- a/templates/content/node--islandora-rdm-dataset.html.twig +++ b/templates/content/node--islandora-rdm-dataset.html.twig @@ -1,4 +1,4 @@ -{{ dd(content) }} +{#{{ dd(content) }}#} {% set node_classes = [ 'node', @@ -134,64 +134,10 @@ set node_classes = [ {{ content.links }} {{ content.group_dataset }} {#/table#} - - -{# -
- - - -
- -
-

Tab01

-

Adipisicing consectetur dolorem tempora quibusdam ad at! Eius consectetur consequuntur omnis tenetur repudiandae. Iure laudantium optio magni laboriosam rerum Commodi quisquam tempora eaque minima nemo! Distinctio earum dolores aliquid facere

-
- -
-

Tab02

-

Dolor quam quo vero perspiciatis vel. Odit ut delectus doloribus illum culpa? Nobis culpa aperiam omnis quae cupiditate ipsam libero iure vero. Unde sequi eligendi eaque eum repellendus Animi ullam.

-
- -
-

Tab03

-

Adipisicing ea dolorum eos excepturi nobis Ipsa officia accusamus omnis iure at Repudiandae quaerat ratione provident quos quae dolor Est voluptatibus aliquam fuga enim nostrum? Necessitatibus magni earum quo esse.

-
- - - {{ content.field_rdm_creator }} - {{ content.field_rdm_organization_name }} -#}
- +(below this will be hidden) +
{{ content }} -{#==========#} -{#JS for Tabs#} -{#==========#} - diff --git a/templates/content/node--islandora-rdm-dataset.html.twig_bk b/templates/content/node--islandora-rdm-dataset.html.twig.bk similarity index 79% rename from templates/content/node--islandora-rdm-dataset.html.twig_bk rename to templates/content/node--islandora-rdm-dataset.html.twig.bk index 7ba11b4..da2f1e9 100644 --- a/templates/content/node--islandora-rdm-dataset.html.twig_bk +++ b/templates/content/node--islandora-rdm-dataset.html.twig.bk @@ -1,4 +1,4 @@ -{{ dd(content) }} +{#{{ dd(content) }}#} {% set node_classes = [ 'node', @@ -45,10 +45,10 @@ set node_classes = [ {#Dummy Content#} {#=============#}
-

Rob's dummy content

+{#

Rob's dummy content

#}
-

Title

+

{{ label }}

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?
@@ -56,66 +56,78 @@ set node_classes = [ {#Table#} + {% if content.field_rdm_creator[0] is not empty %} - + + {% endif %} + {% if content.field_rdm_description[0] is not empty %} - + + {% endif %} + {% if content.field_rdm_contributors[0] is not empty %} - + + {% endif %} + {% if content.field_subjects[0] is not empty %} - + + {% endif %} + {% if content.field_rdm_field_of_research[0] is not empty %} - + + {% endif %} + {% if content.field_rdm_publication_title[0] is not empty %} - + + {% endif %} + {% if content.field_gemini_uri[0] is not empty %} - + + {% endif %} + {% if content.field_rdm_publication_link[0] is not empty %} - + + {% endif %} + {% if content.field_organization[0] is not empty %} - + - - - - + {% endif %} {{ content.content_moderation_control }}