Commit 7bab98fe authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

format tabs to spaces for jsp

parent 911d8d7d
Pipeline #136200 passed with stages
in 9 minutes and 10 seconds
......@@ -6,105 +6,105 @@
<form class="tgrep advanced-search">
<h1>${i18n['advanced-search']}</h1>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Metadata</legend>
<fieldset class="tgrep advanced-search_fieldset">
<ul class="tgrep advanced-search_grow-group">
<li class="tgrep advanced-search_grow-item metadata-searchgroup">
<span class="tgrep advanced-search_input-group -operator -block">AND </span>
<label class="tgrep advanced-search_input-group -type">
<span class="sr-only">Field name</span>
<select class="tgrep advanced-search_input -full-width" name="metadata-field">
<option value="title">Title</option>
<option value="edition.agent.value">Author</option>
<option value="edition.language">Language</option>
<option value="notes">Notes</option>
<option value="genre">Genre</option>
<option value="rightsHolder">Rights Holder</option>
<option value="format">Format</option>
<option value="work.dateOfCreation.date">Date</option>
<option value="work.dateOfCreation.notBefore">Date (not Before)</option>
<option value="work.dateOfCreation.noAfter">Date (note After)</option>
</select>
</label>
<label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label>
<span class="tgrep advanced-search_input-group -operator"> OR </span>
<label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label>
<span class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -item -add" type="button">
<span class="sr-only">Add another field</span>
</button>
<button class="tgrep advanced-search_button -item -remove" disabled="disabled" type="button">
<span class="sr-only">Remove this field</span>
</button>
</span>
</li>
</ul>
</fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="content-types" type="button">Content Types</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="content-types">
<p class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -select -all" data-target="content-types" type="button">Alle markieren</button>
<button class="tgrep advanced-search_button -select -none" data-target="content-types" type="button">Alle abwählen</button>
</p>
<ul>
<li><input id="content-type-0" name="contenttype" type="checkbox" value="text/tg.aggregation+xml" /> <label for="content-type-0">Aggregation (text/tg.aggregation+xml)</label></li>
<li><input id="content-type-1" name="contenttype" type="checkbox" value="text/css" /> <label for="content-type-1">Cascading Stylesheet (CSS) (text/css)</label></li>
<li><input id="content-type-2" name="contenttype" type="checkbox" value="text/tg.collection+tg.aggregation+xml" /> <label for="content-type-2">Collection (text/tg.collection+tg.aggregation+xml)</label></li>
<li><input id="content-type-3" name="contenttype" type="checkbox" value="application/xml-dtd" /> <label for="content-type-3">DTD (application/xml-dtd)</label></li>
<li><input id="content-type-4" name="contenttype" type="checkbox" value="text/tg.edition+tg.aggregation+xml" /> <label for="content-type-4">Edition (text/tg.edition+tg.aggregation+xml)</label></li>
<li><input id="content-type-5" name="contenttype" type="checkbox" value="image/x-unknown" /> <label for="content-type-5">Image (image/x-unknown)</label></li>
<li><input id="content-type-6" name="contenttype" type="checkbox" value="text/tg.imex+xml" /> <label for="content-type-6">Import / Export Mapping (text/tg.imex+xml)</label></li>
<li><input id="content-type-7" name="contenttype" type="checkbox" value="image/jpeg" /> <label for="content-type-7">JPEG image (image/jpeg)</label></li>
<li><input id="content-type-8" name="contenttype" type="checkbox" value="image/png" /> <label for="content-type-8">PNG image (image/png)</label></li>
<li><input id="content-type-9" name="contenttype" type="checkbox" value="text/plain" /> <label for="content-type-9">Plain Text (text/plain)</label></li>
<li><input id="content-type-10" name="contenttype" type="checkbox" value="text/tg.projectfile+xml" /> <label for="content-type-10">Project Configuration (text/tg.projectfile+xml)</label></li>
<li><input id="content-type-11" name="contenttype" type="checkbox" value="image/tiff" /> <label for="content-type-11">TIFF image (image/tiff)</label></li>
<li><input id="content-type-12" name="contenttype" type="checkbox" value="text/linkeditorlinkedfile" /> <label for="content-type-12">Text Image Link File (text/linkeditorlinkedfile)</label></li>
<li><input id="content-type-13" name="contenttype" type="checkbox" value="text/tg.servicedescription+xml" /> <label for="content-type-13">TextGrid Service Description (text/tg.servicedescription+xml)</label></li>
<li><input id="content-type-14" name="contenttype" type="checkbox" value="text/tg.inputform+rdf+xml" /> <label for="content-type-14">TextGrid TGForm RDF-Object (text/tg.inputform+rdf+xml)</label></li>
<li><input id="content-type-15" name="contenttype" type="checkbox" value="text/gwdl.workflow+xml" /> <label for="content-type-15">TextGrid Workflow Document (GWDL) (text/gwdl.workflow+xml)</label></li>
<li><input id="content-type-16" name="contenttype" type="checkbox" value="text/tg.workflow+xml" /> <label for="content-type-16">TextGrid Workflow Document (text/tg.workflow+xml)</label></li>
<li><input id="content-type-17" name="contenttype" type="checkbox" value="text/tg.work+xml" /> <label for="content-type-17">Work (text/tg.work+xml)</label></li>
<li><input id="content-type-18" name="contenttype" type="checkbox" value="text/xml" /> <label for="content-type-18">XML Document (text/xml)</label></li>
<li><input id="content-type-19" name="contenttype" type="checkbox" value="text/xsd+xml" /> <label for="content-type-19">XML Schema (text/xsd+xml)</label></li>
<li><input id="content-type-20" name="contenttype" type="checkbox" value="text/xml+xslt" /> <label for="content-type-20">XSLT Stylesheet (text/xml+xslt)</label></li>
<li><input id="content-type-21" name="contenttype" type="checkbox" value="application/zip" /> <label for="content-type-21">ZIP Archive (application/zip)</label></li>
<li><input id="content-type-22" name="contenttype" type="checkbox" value="text/tg.webpublisher+xml" /> <label for="content-type-22">webpublisher (text/tg.webpublisher+xml)</label></li>
</ul>
</fieldset>
</fieldset>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Fulltext</legend>
<fieldset class="tgrep advanced-search_fieldset">
<label class="sr-only" for="advanced-search_fulltext-input">Search terms</label>
<input class="tgrep advanced-search_input -full-width" id="advanced-search_fulltext-input" name="fulltext" type="text" />
</fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="word-distance" type="button">Word distances</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="word-distance">
<ul>
<li><input checked="checked" id="word-distance-0" name="wordDistanceSel" type="radio" value="false" /> <label for="word-distance-0"> in one document </label></li>
<li><input id="word-distance-1" name="wordDistanceSel" type="radio" value="true" /> <label for="word-distance-1"> no more than <input max="1000" min="1" name="wordDistance" step="1" type="number" value="40" /> words </label></li>
</ul>
</fieldset>
</fieldset>
<input class="tgrep advanced-search_submit" type="submit" value="Search" />
<h1>${i18n['advanced-search']}</h1>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Metadata</legend>
<fieldset class="tgrep advanced-search_fieldset">
<ul class="tgrep advanced-search_grow-group">
<li class="tgrep advanced-search_grow-item metadata-searchgroup">
<span class="tgrep advanced-search_input-group -operator -block">AND </span>
<label class="tgrep advanced-search_input-group -type">
<span class="sr-only">Field name</span>
<select class="tgrep advanced-search_input -full-width" name="metadata-field">
<option value="title">Title</option>
<option value="edition.agent.value">Author</option>
<option value="edition.language">Language</option>
<option value="notes">Notes</option>
<option value="genre">Genre</option>
<option value="rightsHolder">Rights Holder</option>
<option value="format">Format</option>
<option value="work.dateOfCreation.date">Date</option>
<option value="work.dateOfCreation.notBefore">Date (not Before)</option>
<option value="work.dateOfCreation.noAfter">Date (note After)</option>
</select>
</label>
<label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label>
<span class="tgrep advanced-search_input-group -operator"> OR </span>
<label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label>
<span class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -item -add" type="button">
<span class="sr-only">Add another field</span>
</button>
<button class="tgrep advanced-search_button -item -remove" disabled="disabled" type="button">
<span class="sr-only">Remove this field</span>
</button>
</span>
</li>
</ul>
</fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="content-types" type="button">Content Types</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="content-types">
<p class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -select -all" data-target="content-types" type="button">Alle markieren</button>
<button class="tgrep advanced-search_button -select -none" data-target="content-types" type="button">Alle abwählen</button>
</p>
<ul>
<li><input id="content-type-0" name="contenttype" type="checkbox" value="text/tg.aggregation+xml" /> <label for="content-type-0">Aggregation (text/tg.aggregation+xml)</label></li>
<li><input id="content-type-1" name="contenttype" type="checkbox" value="text/css" /> <label for="content-type-1">Cascading Stylesheet (CSS) (text/css)</label></li>
<li><input id="content-type-2" name="contenttype" type="checkbox" value="text/tg.collection+tg.aggregation+xml" /> <label for="content-type-2">Collection (text/tg.collection+tg.aggregation+xml)</label></li>
<li><input id="content-type-3" name="contenttype" type="checkbox" value="application/xml-dtd" /> <label for="content-type-3">DTD (application/xml-dtd)</label></li>
<li><input id="content-type-4" name="contenttype" type="checkbox" value="text/tg.edition+tg.aggregation+xml" /> <label for="content-type-4">Edition (text/tg.edition+tg.aggregation+xml)</label></li>
<li><input id="content-type-5" name="contenttype" type="checkbox" value="image/x-unknown" /> <label for="content-type-5">Image (image/x-unknown)</label></li>
<li><input id="content-type-6" name="contenttype" type="checkbox" value="text/tg.imex+xml" /> <label for="content-type-6">Import / Export Mapping (text/tg.imex+xml)</label></li>
<li><input id="content-type-7" name="contenttype" type="checkbox" value="image/jpeg" /> <label for="content-type-7">JPEG image (image/jpeg)</label></li>
<li><input id="content-type-8" name="contenttype" type="checkbox" value="image/png" /> <label for="content-type-8">PNG image (image/png)</label></li>
<li><input id="content-type-9" name="contenttype" type="checkbox" value="text/plain" /> <label for="content-type-9">Plain Text (text/plain)</label></li>
<li><input id="content-type-10" name="contenttype" type="checkbox" value="text/tg.projectfile+xml" /> <label for="content-type-10">Project Configuration (text/tg.projectfile+xml)</label></li>
<li><input id="content-type-11" name="contenttype" type="checkbox" value="image/tiff" /> <label for="content-type-11">TIFF image (image/tiff)</label></li>
<li><input id="content-type-12" name="contenttype" type="checkbox" value="text/linkeditorlinkedfile" /> <label for="content-type-12">Text Image Link File (text/linkeditorlinkedfile)</label></li>
<li><input id="content-type-13" name="contenttype" type="checkbox" value="text/tg.servicedescription+xml" /> <label for="content-type-13">TextGrid Service Description (text/tg.servicedescription+xml)</label></li>
<li><input id="content-type-14" name="contenttype" type="checkbox" value="text/tg.inputform+rdf+xml" /> <label for="content-type-14">TextGrid TGForm RDF-Object (text/tg.inputform+rdf+xml)</label></li>
<li><input id="content-type-15" name="contenttype" type="checkbox" value="text/gwdl.workflow+xml" /> <label for="content-type-15">TextGrid Workflow Document (GWDL) (text/gwdl.workflow+xml)</label></li>
<li><input id="content-type-16" name="contenttype" type="checkbox" value="text/tg.workflow+xml" /> <label for="content-type-16">TextGrid Workflow Document (text/tg.workflow+xml)</label></li>
<li><input id="content-type-17" name="contenttype" type="checkbox" value="text/tg.work+xml" /> <label for="content-type-17">Work (text/tg.work+xml)</label></li>
<li><input id="content-type-18" name="contenttype" type="checkbox" value="text/xml" /> <label for="content-type-18">XML Document (text/xml)</label></li>
<li><input id="content-type-19" name="contenttype" type="checkbox" value="text/xsd+xml" /> <label for="content-type-19">XML Schema (text/xsd+xml)</label></li>
<li><input id="content-type-20" name="contenttype" type="checkbox" value="text/xml+xslt" /> <label for="content-type-20">XSLT Stylesheet (text/xml+xslt)</label></li>
<li><input id="content-type-21" name="contenttype" type="checkbox" value="application/zip" /> <label for="content-type-21">ZIP Archive (application/zip)</label></li>
<li><input id="content-type-22" name="contenttype" type="checkbox" value="text/tg.webpublisher+xml" /> <label for="content-type-22">webpublisher (text/tg.webpublisher+xml)</label></li>
</ul>
</fieldset>
</fieldset>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Fulltext</legend>
<fieldset class="tgrep advanced-search_fieldset">
<label class="sr-only" for="advanced-search_fulltext-input">Search terms</label>
<input class="tgrep advanced-search_input -full-width" id="advanced-search_fulltext-input" name="fulltext" type="text" />
</fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="word-distance" type="button">Word distances</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="word-distance">
<ul>
<li><input checked="checked" id="word-distance-0" name="wordDistanceSel" type="radio" value="false" /> <label for="word-distance-0"> in one document </label></li>
<li><input id="word-distance-1" name="wordDistanceSel" type="radio" value="true" /> <label for="word-distance-1"> no more than <input max="1000" min="1" name="wordDistance" step="1" type="number" value="40" /> words </label></li>
</ul>
</fieldset>
</fieldset>
<input class="tgrep advanced-search_submit" type="submit" value="Search" />
</form>
......
......@@ -14,13 +14,13 @@
<span hidden="true" id="i18n-add-to-shelf-label" data-value="${i18n['add-to-shelf']}"></span>
<header class="tg header">
<div class="tg header_logo" role="banner">
<a href="/" title="TextGrid Repository">
<img src="/images/textgrid-repository-logo.svg" alt="TextGrid Repository Logo">
</a>
</div>
<%@ include file="topbox.jsp" %>
<%@ include file="navigation.jsp" %>
<div class="tg header_logo" role="banner">
<a href="/" title="TextGrid Repository">
<img src="/images/textgrid-repository-logo.svg" alt="TextGrid Repository Logo">
</a>
</div>
<%@ include file="topbox.jsp" %>
<%@ include file="navigation.jsp" %>
</header>
<main class="tg main -default" id="content">
......
......@@ -36,13 +36,13 @@
-->
<li class="tg topbox_language">
<c:choose>
<c:when test="${language == 'de'}">
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='en' />"><span class="sr-only">Switch language to </span>English</a>
</c:when>
<c:otherwise>
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='de' />"><span class="sr-only">Sprache ndern nach </span>Deutsch</a>
</c:otherwise>
</c:choose>
<c:when test="${language == 'de'}">
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='en' />"><span class="sr-only">Switch language to </span>English</a>
</c:when>
<c:otherwise>
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='de' />"><span class="sr-only">Sprache ndern nach </span>Deutsch</a>
</c:otherwise>
</c:choose>
</li>
</ul>
</nav>
\ No newline at end of file
......@@ -11,83 +11,83 @@
<span hidden="true" id="basketItemString" data-value="${basketItemString}"></span>
<div class="tgrep wrap">
<div class="tgrep sidebar-toggle">
<button class="tgrep sidebar-toggle_button -show">${i18n['show-sidebar']}</button>
<button class="tgrep sidebar-toggle_button -hide">${i18n['hide-sidebar']}</button>
</div>
<div class="tgrep sidebar-toggle">
<button class="tgrep sidebar-toggle_button -show">${i18n['show-sidebar']}</button>
<button class="tgrep sidebar-toggle_button -hide">${i18n['hide-sidebar']}</button>
</div>
<aside class="tgrep sidebar">
<aside class="tgrep sidebar">
<c:if test="${viewmodes != null}">
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['views']}</h3>
<ul class="tgrep sidebar_list">
<c:forEach items="${viewmodes}" var="viewmode">
<li class="tgrep sidebar_item">
<a href="${viewmode.url}" rel="noindex nofollow" class="tgrep sidebar_link">${viewmode.label}</a>
</li>
</c:forEach>
</ul>
<c:if test="${viewmodes.size() > 6}">
<button class="tgrep sidebar_expand">${i18n['expand']}</button>
</c:if>
</section>
</c:if>
<c:if test="${viewmodes != null}">
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['views']}</h3>
<ul class="tgrep sidebar_list">
<c:forEach items="${viewmodes}" var="viewmode">
<li class="tgrep sidebar_item">
<a href="${viewmode.url}" rel="noindex nofollow" class="tgrep sidebar_link">${viewmode.label}</a>
</li>
</c:forEach>
</ul>
<c:if test="${viewmodes.size() > 6}">
<button class="tgrep sidebar_expand">${i18n['expand']}</button>
</c:if>
</section>
</c:if>
<c:if test="${results.size() > 0}">
<section class="tgrep sidebar_panel remove_on_shelf_empty">
<h3 class="tgrep sidebar_subheading">${i18n['tools']}</h3>
<ul class="tgrep sidebar_list">
<li class="tgrep sidebar_item">
<a class="aggregator-items" href="${voyantUrl}?input=${aggregatorUrl}/zip/${basketItemString}?meta=false&only=text/xml" rel="noindex nofollow" class="tgrep sidebar_link">Voyant</a>
</li>
</ul>
</section>
</c:if>
</aside>
<section class="tgrep sidebar_panel remove_on_shelf_empty">
<h3 class="tgrep sidebar_subheading">${i18n['tools']}</h3>
<ul class="tgrep sidebar_list">
<li class="tgrep sidebar_item">
<a class="aggregator-items" href="${voyantUrl}?input=${aggregatorUrl}/zip/${basketItemString}?meta=false&only=text/xml" rel="noindex nofollow" class="tgrep sidebar_link">Voyant</a>
</li>
</ul>
</section>
</c:if>
</aside>
<main class="tgrep main">
<h1 class="tgrep main_heading">${i18n['shelf']}</h1>
<main class="tgrep main">
<h1 class="tgrep main_heading">${i18n['shelf']}</h1>
<header class="tgrep header">
<h2 class="tgrep header_heading">${i18n['manage-the-shelf']}</h2>
<div class="tgrep header_info">
${i18n['there-are-currently']} <span class="tgrep header_count">${results.size()}</span> ${i18n['objects-on-your-shelf']}
</div>
<c:if test="${results.size() > 0}">
<div class="tgrep header_actions remove_on_shelf_empty">
<button class="tgrep header_button -expand-all">${i18n['expand-all']}</button>
<button class="tgrep header_button -collapse-all ">${i18n['collapse-all']}</button>
<button class="tgrep header_button -clear ">${i18n['clear']}</button>
<div class="tg dropdown" role="group">
<a class="tg dropdown_toggle">${i18n['download-all']}</a>
<ul class="tg dropdown_menu">
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/epub/${basketItemString}" data-type="ebook">E-Book</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/zip/${basketItemString}" data-type="zip">ZIP</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/teicorpus/${basketItemString}" data-type="teicorpus">TEI-Corpus</a></li>
</ul>
</div>
</div>
</c:if>
</header>
<header class="tgrep header">
<h2 class="tgrep header_heading">${i18n['manage-the-shelf']}</h2>
<div class="tgrep header_info">
${i18n['there-are-currently']} <span class="tgrep header_count">${results.size()}</span> ${i18n['objects-on-your-shelf']}
</div>
<c:if test="${results.size() > 0}">
<div class="tgrep header_actions remove_on_shelf_empty">
<button class="tgrep header_button -expand-all">${i18n['expand-all']}</button>
<button class="tgrep header_button -collapse-all ">${i18n['collapse-all']}</button>
<button class="tgrep header_button -clear ">${i18n['clear']}</button>
<div class="tg dropdown" role="group">
<a class="tg dropdown_toggle">${i18n['download-all']}</a>
<ul class="tg dropdown_menu">
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/epub/${basketItemString}" data-type="ebook">E-Book</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/zip/${basketItemString}" data-type="zip">ZIP</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/teicorpus/${basketItemString}" data-type="teicorpus">TEI-Corpus</a></li>
</ul>
</div>
</div>
</c:if>
</header>
<c:choose>
<c:when test="${mode eq 'gallery'}">
<ul class="tgrep results_gallery">
<c:forEach items="${results}" var="result">
<%@ include file="components/singleGalleryResult.jsp" %>
</c:forEach>
</ul>
</c:when>
<c:otherwise>
<ul class="tgrep results_list">
<c:forEach items="${results}" var="result">
<%@ include file="components/singleListResult.jsp" %>
</c:forEach>
</ul>
</c:otherwise>
</c:choose>
</main>
<c:choose>
<c:when test="${mode eq 'gallery'}">
<ul class="tgrep results_gallery">
<c:forEach items="${results}" var="result">
<%@ include file="components/singleGalleryResult.jsp" %>
</c:forEach>
</ul>
</c:when>
<c:otherwise>
<ul class="tgrep results_list">
<c:forEach items="${results}" var="result">
<%@ include file="components/singleListResult.jsp" %>
</c:forEach>
</ul>
</c:otherwise>
</c:choose>
</main>
</div>
......
This diff is collapsed.
......@@ -7,25 +7,25 @@
<div class="tgrep wrap">
<main class="tgrep main -full-width">
<div class="tgrep browse">
<ul class="tgrep browse_list">
<c:forEach items="${facets}" var="result">
<li class="tgrep browse_item">
<c:url context="/" value="/search" var="encodedUrl">
<c:param name="filter" value="${facet}:${result.value}" />
</c:url>
<a class="tgrep browse_link" href="${encodedUrl}">
${result.value}
</a>
(${result.count} items)
</li>
</c:forEach>
</ul>
</div>
</main>
<main class="tgrep main -full-width">
<div class="tgrep browse">
<ul class="tgrep browse_list">
<c:forEach items="${facets}" var="result">
<li class="tgrep browse_item">
<c:url context="/" value="/search" var="encodedUrl">
<c:param name="filter" value="${facet}:${result.value}" />
</c:url>
<a class="tgrep browse_link" href="${encodedUrl}">
${result.value}
</a>
(${result.count} items)
</li>
</c:forEach>
</ul>
</div>
</main>
</div>
......
......@@ -29,17 +29,17 @@
<dl>
<dt>${i18n['aggregation-citation-heading']}</dt>
<dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}).
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}.
</c:forEach>
</c:forEach>
</c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a>
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}.
</c:forEach>
</c:forEach>
</c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a>
</dd>
</dl>
</c:when>
......@@ -59,17 +59,17 @@
<dl>
<dt>${i18n['item-citation-heading']}</dt>
<dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}).
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}.
</c:forEach>
</c:forEach>
</c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a>
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}.
</c:forEach>
</c:forEach>
</c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a>
</dd>
</dl>
</c:otherwise>
......
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="tg pagination">
<ul class="tg pagination_list">
<!-- previous button -->
<c:if test="${pager.start eq 0}">
<li class="tg pagination_item -disabled">
<span class="tg pagination_link -first" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span>
</span>
</li>
<ul class="tg pagination_list">
<!-- previous button -->
<c:if test="${pager.start eq 0}">
<li class="tg pagination_item -disabled">
<span class="tg pagination_link -first" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span>
</span>
</li>
<li class="tg pagination_item -disabled">
<span class="tg pagination_link -prev" title="${i18n['go-to-previous-page']}">
<span class="sr-only">${i18n['previous-page']}</span>
</span>
</li>
</c:if>
<li class="tg pagination_item -disabled">
<span class="tg pagination_link -prev" title="${i18n['go-to-previous-page']}">
<span class="sr-only">${i18n['previous-page']}</span>
</span>
</li>
</c:if>
<c:if test="${pager.start gt 0}">
<li class="tg pagination_item">
<a class="tg pagination_link -first" href="?query=${query}${filterQueryString}&start=0&limit=${pager.limit}&order=${order}" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span>
</a>
</li>
<c:if test="${pager.start gt 0}">
<li class="tg pagination_item">
<a class="tg pagination_link -first" href="?query=${query}${filterQueryString}&start=0&limit=${pager.limit}&order=${order}" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span>
</a>
</li>
<li class="tg pagination_item">
<a class="tg pagination_link -prev" href="?query=${query}${filterQueryString}&start=${pager.start - pager.limit}&limit=${pager.limit}&order=${order}" title="${i18n['go-to-previous-page']}">
<span class="sr-only">${i18n['previous-page']}</span>
</a>
</li>
</c:if>
<li class="tg pagination_item">
<a class="tg pagination_link -prev" href="?query=${query}${filterQueryString}&start=${pager.start - pager.limit}&limit=${pager.limit}&order=${order}" title="${i18n['go-to-previous-page']}">