Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
django-eoapublications/eoapublications/templates/publications/chapter/chapter_base.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
249 lines (243 sloc)
16.1 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block breadcrumb %} | |
<li class="breadcrumbs__item"><a class="breadcrumbs__link" href="/">Home</a></li> | |
<li class="breadcrumbs__item"><a class="breadcrumbs__link" href="/publications#{{ Currentchapter.Publication.Serie }}" title="{{ Currentchapter.Publication.get_Serie_display }}">{{ Currentchapter.Publication.get_Serie_display }}</a></li> | |
<li class="breadcrumbs__item"><a rel="up" class="breadcrumbs__link" href="/{{ Currentchapter.Publication.Serie }}/{{ Currentchapter.Publication.Number }}/index.html">{{ Currentchapter.Publication.Title }}</a></li> | |
<li class="breadcrumbs__item"><span class="breadcrumbs__link-current">{{ Currentchapter.Title|safe }}</span></li> | |
{% endblock %} | |
{% block title %}{{ request.site.name }} | {{ Currentchapter.Publication.Title }} | {{ Currentchapter.Title|striptags }}{% endblock %} | |
{% block metatags %} | |
<meta name="citation_title" content="{{ Currentchapter.Title }}"/> | |
<meta name="citation_date" content="{{ Currentchapter.Publication.Datepublished|date:'Y/m/d' }}"/> | |
{% if Currentchapter.Chapterauthor1 %} | |
<meta name="citation_author" content="{{ Currentchapter.Chapterauthor1 }}"/> | |
{% if Currentchapter.Chapterauthor2 %}<meta name="citation_author" content="{{ Currentchapter.Chapterauthor2 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor3 %}<meta name="citation_author" content="{{ Currentchapter.Chapterauthor3 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor4 %}<meta name="citation_author" content="{{ Currentchapter.Chapterauthor4 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor5 %}<meta name="citation_author" content="{{ Currentchapter.Chapterauthor5 }}"/>{% endif %} | |
{% else %} | |
{% if Currentchapter.Publication.Publicationauthor1 %}<meta name="citation_author" content="{{ Currentchapter.Publication.Publicationauthor1 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor2 %}<meta name="citation_author" content="{{ Currentchapter.Publication.Publicationauthor2 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor3 %}<meta name="citation_author" content="{{ Currentchapter.Publication.Publicationauthor3 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor4 %}<meta name="citation_author" content="{{ Currentchapter.Publication.Publicationauthor4 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor5 %}<meta name="citation_author" content="{{ Currentchapter.Publication.Publicationauthor5 }}"/>{% endif %} | |
{% endif %} | |
<meta name="DC.title" content="{{ Currentchapter.Title }}"/> | |
<meta name="DC.issued" content="{{ Currentchapter.Publication.Datepublished|date:'Y/m/d' }}"/> | |
<meta name="DC.publisher" content="Edition Open Access"/> | |
{% if Currentchapter.Chapterauthor1 %} | |
<meta name="DC.creator" content="{{ Currentchapter.Chapterauthor1 }}"/> | |
{% if Currentchapter.Chapterauthor2 %}<meta name="DC.creator" content="{{ Currentchapter.Chapterauthor2 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor3 %}<meta name="DC.creator" content="{{ Currentchapter.Chapterauthor3 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor4 %}<meta name="DC.creator" content="{{ Currentchapter.Chapterauthor4 }}"/>{% endif %} | |
{% if Currentchapter.Chapterauthor5 %}<meta name="DC.creator" content="{{ Currentchapter.Chapterauthor5 }}"/>{% endif %} | |
{% else %} | |
{% if Currentchapter.Publication.Publicationauthor1 %}<meta name="DC.creator" content="{{ Currentchapter.Publication.Publicationauthor1 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor2 %}<meta name="DC.creator" content="{{ Currentchapter.Publication.Publicationauthor2 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor3 %}<meta name="DC.creator" content="{{ Currentchapter.Publication.Publicationauthor3 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor4 %}<meta name="DC.creator" content="{{ Currentchapter.Publication.Publicationauthor4 }}"/>{% endif %} | |
{% if Currentchapter.Publication.Publicationauthor5 %}<meta name="DC.creator" content="{{ Currentchapter.Publication.Publicationauthor5 }}"/>{% endif %} | |
{% endif %} | |
{% endblock %} | |
{% block hyperimage %} | |
{% if Hyperimage %} | |
<!-- HyperImage EOA Viewer --> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/fontawesome/web-fonts-with-css/css/fa-regular.min.css?v=1.0"> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/fontawesome/web-fonts-with-css/css/fa-solid.min.css?v=1.0"> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/fontawesome/web-fonts-with-css/css/fontawesome-all.min.css?v=1.0"> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/leaflet/leaflet.css?v=1.0"> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/leaflet/spin.css?v=1.0"> | |
<link rel="stylesheet" href="/static/HI-Viewer/lib/leaflet/Leaflet.SlideMenu/src/L.Control.SlideMenu.css?v=1.0"> | |
<script src="/static/HI-Viewer/lib/leaflet/leaflet.js"></script> | |
<script src="/static/HI-Viewer/lib/leaflet/Leaflet.SlideMenu/src/L.Control.SlideMenu.js"></script> | |
<script src="/static/HI-Viewer/lib/leaflet/Leaflet.Control.Custom/L.Control.Custom.js"></script> | |
<script src="/static/HI-Viewer/lib/leaflet/spin.js"></script> | |
<script src="/static/HI-Viewer/lib/leaflet/Leaflet.Spin/leaflet.spin.min.js"></script> | |
<link rel="stylesheet" href="/static/HI-Viewer/css/style.css?v=1.0"> | |
<script src="/static/HI-Viewer/js/HIEOALoader.js" data-hiconfig="ewoJImNvbmZpZyI6IHsKCQkiYmFja2dyb3VuZCI6ICJ3aGl0ZSIsCgkJImxhbmd1YWdlIjogImVuIgoJfQp9"></script> | |
<!-- End HyperImage EOA Viewer --> | |
{% endif %} | |
{% endblock %} | |
{% block hyperimagebottom %} | |
{% if Hyperimage %} | |
<script src="/static/HI-Viewer/lib/jquery/jquery-3.3.1.min.js"></script> | |
{% endif %} | |
{% endblock %} | |
{% block content %} | |
<main class="main publications publications2"> | |
<div class="container"> | |
<div class="main-content"> | |
<section class="publications__overview"> | |
{% if Listofsections != 'None' %} | |
<div class="accordion"> | |
<div class="accordion__item accordion__item--border-top active"><a class="accordion__title" href="#"> | |
<h2>Overview</h2></a> | |
<div class="accordion__content"> | |
<div class="publications__list"> | |
<ul> | |
{% for Section in Listofsections %} | |
<li><a href="#{{ Section.Order }}">{{Section.Number}} {{ Section.Fulltext|safe}}</a></li> | |
{% endfor %} | |
</ul> | |
</div> | |
</div> | |
</div> | |
</div> | |
{% endif %} | |
{% if Currentchapter.Doichapter %} | |
{% comment %} | |
<a class="link link--green" href="/media/{{Currentchapter.Chapterpdffile}}"><span class="link__label link__label--outer">DOI</span></a> | |
<button class="btn btn-small dropdown-toggle" data-toggle="popover" data-html=true data-placement="bottom" data-content="{{Currentchapter.Doichapter}}" title="Digital Object Identifier:" rel="popover"> | |
DOI <span class="caret"></span></button> | |
{% endcomment %} | |
{% endif %} | |
{% if Currentchapter.Chapterpdffile %} | |
<a class="link link--green" href="/media/{{Currentchapter.Chapterpdffile}}"><span class="link__label link__label--outer">Download Chapter</span></a> | |
{% endif %} | |
{% if Currentchapter.Suggestedchaptercitation %} | |
{% comment %} | |
<button class="btn btn-small dropdown-toggle" data-toggle="popover" data-html=true data-placement="bottom" data-content="{{Currentchapter.Suggestedchaptercitation}}" title="Suggested Citation:" rel="popover"> | |
Citation <span class="caret"></span></button> | |
{% endcomment %} | |
{% endif %} | |
</section> | |
<section class="publication-detail"> | |
<div class="accordion"> | |
<div class="accordion__main"> | |
<div class="row" id="chaptertitle"> | |
<h1 class="publication-detail__title"> | |
{% if Currentchapter.Number %} | |
<span>{{ Currentchapter.Number }}</span> | |
{% endif %} | |
{{ Currentchapter.Title|safe }} | |
</h1> | |
</div> | |
<div class="row" id="chapterauthors"> | |
<p>{% if Currentchapter.Chapterauthor1 %}<em>{% if Currentchapter.Chapterauthor1number %}<a href="/author/{{ Currentchapter.Chapterauthor1number }}.html">{% endif %}{{ Currentchapter.Chapterauthor1 }}{% if Currentchapter.Chapterauthor1number %}</a>{% endif %}</em>{% endif %}{% if Currentchapter.Chapterauthor2 %}, | |
<em>{% if Currentchapter.Chapterauthor2number %}<a href="/author/{{ Currentchapter.Chapterauthor2number }}.html">{% endif %}{{ Currentchapter.Chapterauthor2 }}{% if Currentchapter.Chapterauthor2number %}</a>{% endif %}</em>{% endif %}{% if Currentchapter.Chapterauthor3 %}, | |
<em>{% if Currentchapter.Chapterauthor3number %}<a href="/author/{{ Currentchapter.Chapterauthor3number }}.html">{% endif %}{{ Currentchapter.Chapterauthor3 }}{% if Currentchapter.Chapterauthor3number %}</a>{% endif %}</em>{% endif %}{% if Currentchapter.Chapterauthor4 %}, | |
<em>{% if Currentchapter.Chapterauthor4number %}<a href="/author/{{ Currentchapter.Chapterauthor4number }}.html">{% endif %}{{ Currentchapter.Chapterauthor4 }}{% if Currentchapter.Chapterauthor4number %}</a>{% endif %}</em>{% endif %}{% if Currentchapter.Chapterauthor5 %}, | |
<em>{% if Currentchapter.Chapterauthor5number %}<a href="/author/{{ Currentchapter.Chapterauthor5number }}.html">{% endif %}{{ Currentchapter.Chapterauthor5 }}{% if Currentchapter.Chapterauthor5number %}</a>{% endif %}</em>{% endif %}</p> | |
</div> | |
{% if Listofelements %} | |
{% for Element in Listofelements %} | |
{% if Element.Kind != 'eoafootnote' %} | |
<div class="row" id="{{ Element.Order }}"> | |
<div class="flags"> | |
<button class="icon-bookmark publications-popup" data-content="If you want to directly link to this paragraph in the text, you can use the following URL:<br/> <a href='https://{{ request.site }}/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/index.html#{{ Element.Order }}'>https://{{ request.site }}/{{ Element.Publication.Serie }}/{{ Element.Publication.Number }}/{{ Element.Chapter.Order }}/index.html#{{ Element.Order }}</a> " title="" rel="popover" data-title="Permanent Link"></button> | |
{% if Element.Indexelements %} | |
<button class="icon-bookmark publications-popup-eye" data-content="{% for Indexelement in Element.Indexelements%} {{ Indexelement.Html }} {% endfor %}" title="" rel="popover" data-title="Keywords, Persons and Locations"></button> | |
{% endif %} | |
</div> | |
{% if forloop.first %} | |
{% if Element.Kind == 'eoasection' %} | |
{% include "publications/chapter/eoasection.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaparagraph' %} | |
{% include "publications/chapter/eoaparagraph-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaquotedparagraph' %} | |
{% include "publications/chapter/eoaquotedparagraph-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoafigure' %} | |
{% include "publications/chapter/eoafigure-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaequation' %} | |
{% include "publications/chapter/eoaequation-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatranscription' %} | |
{% include "publications/chapter/eoatranscription-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaletterhead' %} | |
{% include "publications/chapter/eoaletterhead-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatheorem' %} | |
{% include "publications/chapter/eoatheorem-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoadescription' %} | |
{% include "publications/chapter/eoadescription-first.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatable' %} | |
{% include "publications/chapter/eoatable-first.html" %} | |
{% endif %} | |
{% else %} | |
{% if Element.Kind == 'eoadivider' %} | |
{% include "publications/chapter/eoadivider.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaparagraph' %} | |
{% include "publications/chapter/eoaparagraph.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaquotedparagraph' %} | |
{% include "publications/chapter/eoaquotedparagraph.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoafigure' %} | |
{% include "publications/chapter/eoafigure.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaequation' %} | |
{% include "publications/chapter/eoaequation.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatranscription' %} | |
{% include "publications/chapter/eoatranscription.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoaletterhead' %} | |
{% include "publications/chapter/eoaletterhead.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatheorem' %} | |
{% include "publications/chapter/eoatheorem.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoadescription' %} | |
{% include "publications/chapter/eoadescription.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoatable' %} | |
{% include "publications/chapter/eoatable.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoasection' %} | |
{% include "publications/chapter/eoasection.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoasubsection' %} | |
{% include "publications/chapter/eoasubsection.html" %} | |
{% endif %} | |
{% if Element.Kind == 'eoasubsubsection' %} | |
{% include "publications/chapter/eoasubsubsection.html" %} | |
{% endif %} | |
{% comment %} | |
{% if Element.Kind == 'eoalistitem' %} | |
{% include "publications/chapter/eoalistitem.html" %} | |
{% endif %} | |
{% endcomment %} | |
{% endif %} | |
</div><a class="accordion__pageup" href="#"></a> | |
{% endif %} | |
{% endfor %} | |
{% endif %} | |
{% if Listoffootnotes %} | |
<div class="accordion__item active"><a class="accordion__title" href="#"> | |
<div class="row" id="fncontainer"> | |
{% comment %} <h2>Fußnoten</h2>{% endcomment %} | |
</div></a> | |
<div class="accordion__content"> | |
<div class="row" id="fnbody"> | |
<div class="publication-detail__footnotes"> | |
<div class="footnotes"> | |
{% for Element in Listoffootnotes %} | |
<div class="footnotes-item"> | |
<div class="footnotes-item__index"><a name="fn{{ Element.Number }}" href="#{{ Element.Listcharacter }}">{{ Element.Number }}</a></div> | |
<div class="footnotes-item__text">{{ Element.Fulltext|safe | slice:"3:-5" }}</div> | |
</div> | |
{% endfor %} | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
{% endif %} | |
</div> | |
</div> | |
<div class="navigation"> | |
{% if Previouschapter %}<a rel="prev" class="navigation__button navigation__button--prev" href="../{{ Previouschapter.Order }}/index.html">{% if Previouschapter.Title|length >= 25 %}{{ Previouschapter.Number }} {{ Previouschapter.Title|striptags|slice:":25" }}…{% else %}{{ Previouschapter.Number }} {{ Previouschapter.Title }}{% endif %}</a>{% endif %}{% if Nextchapter %}<a rel="next" class="navigation__button navigation__button--next" href="../{{ Nextchapter.Order }}/index.html">{% if Nextchapter.Title|length >= 25 %}{{ Nextchapter.Number }} {{ Nextchapter.Title|striptags|slice:":25" }}…{% else %}{{ Nextchapter.Number }} {{ Nextchapter.Title }}{% endif %}</a>{% endif %} | |
</div> | |
</section> | |
</div> | |
</div> | |
</main> | |
{% endblock %} |