From 5201946904d4fd3a8ae085bc0ec5fd395b5c5de1 Mon Sep 17 00:00:00 2001 From: JMante1 Date: Wed, 6 Nov 2019 12:37:08 -0700 Subject: [PATCH] Added references section --- templates/layouts/topLevel.jade | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/templates/layouts/topLevel.jade b/templates/layouts/topLevel.jade index 5ac9616d5..ce2986e4e 100644 --- a/templates/layouts/topLevel.jade +++ b/templates/layouts/topLevel.jade @@ -95,6 +95,30 @@ block topLevelPanelsCont div.row div.col-md-12 +attachments(meta.url, meta.attachments, meta.canEdit) + + .panel.panel-default + .panel-heading + h4.panel-title + a.accordion-toggle(data-toggle='collapse', href='#collapseReference') + b Reference + #collapseReference.panel-collapse.collapse.in + .panel-body + div.row + div.col-md-12 + div + | These parts were created by your colleagues. + | Please acknowledge the Principal Investigator, + | cite the article in which the parts were described, and include + | !{config.instanceName} in the Materials and Methods of your future publications. + br + span For your Materials & Methods section: + div(style="padding-left: 30px") + div.well.well-sm + | !{meta.name ? meta.name : meta.id} + if meta.creator.description && meta.creator.description != "" + | was a gift from !{meta.creator.description} + | (SynBioHub Part: !{config.instanceUrl + meta.url.toString().substring(1)}) + for plugin in locals.renderingPlugins .panel.panel-default .panel-heading