-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
209 additions
and
200 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[%- query = "id=(" %] | ||
[%- FOREACH au IN facets.author.terms %] | ||
[%- query = query _ au.term %] | ||
[%- UNLESS loop.last %] | ||
[%- query = query _ " OR " %] | ||
[%- END %] | ||
[%- END %] | ||
[%- query = query _ ")" %] | ||
[%- p.q = []; p.q.push(query); p.get_person = 1 %] | ||
[%- authors = h.search_researcher(p) %] | ||
<button data-toggle="collapse" data-target="#authors_[% tabmodus %][% menu %]" class="btn-link"><span class="glyphicon glyphicon-chevron-down fw"></span>[% h.loc("facets.current_authors") %]</button> | ||
<div class="facettecollapse"> | ||
<ul id="authors_[% tabmodus %][% menu %]" class="collapse"> | ||
[%- FOREACH au IN facets.author.terms %] | ||
[%- name = authors.item(au.term) %] | ||
<li><a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="author" data-value="[% au.term %]" href="#" rel="nofollow">[% name %] ([% au.count %])</a></li> | ||
[%- END %] | ||
</ul> | ||
</div> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<button href="#modal_department" data-toggle="modal" class="btn-link"><span class="glyphicon glyphicon-chevron-left fw"></span>[% h.loc("facets.department") %]</button> | ||
<!-- Modal --> | ||
<div id="modal_department" class="modal"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal"><span class="fa fa-fw fa-times"></span></button> | ||
<h3 id="ModalExport">[% h.loc("facets.department") %]</h3> | ||
</div> | ||
<div class="modal-body"> | ||
[%- TRY %] | ||
[%- INCLUDE department/nodes_backend.tt %] | ||
[%- CATCH %] | ||
You might want to execute 'bin/librecat generate departments'... | ||
[%- END %] | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[%- query = "id=(" %] | ||
[%- FOREACH ed IN facets.editor.terms %] | ||
[%- query = query _ ed.term %] | ||
[%- UNLESS loop.last %] | ||
[%- query = query _ " OR " %] | ||
[%- END %] | ||
[%- END %] | ||
[%- query = query _ ")" -%] | ||
[%- p.q = []; p.q.push(query); p.get_person = 1 -%] | ||
[%- editors = h.search_researcher(p) -%] | ||
<button data-toggle="collapse" data-target="#editors_[% tabmodus %][% menu %]" class="btn-link"><span class="glyphicon glyphicon-chevron-down fw"></span>[% h.loc("facets.current_editors") %]</button> | ||
<div class="facettecollapse"> | ||
<ul id="editors_[% tabmodus %][% menu %]" class="collapse"> | ||
[%- FOREACH ed IN facets.editor.terms %] | ||
[%- name = editors.item(ed.term) %] | ||
<li><a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="editor" data-value="[% ed.term %]" href="#" rel="nofollow">[% name %] ([% ed.count %])</a></li> | ||
[%- END %] | ||
</ul> | ||
</div> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[% FOREACH t IN facets.extern.terms %] | ||
[% IF t.count < total %] | ||
<a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="extern" data-value="1" href="#" rel="nofollow"><span class="glyphicon glyphicon-chevron-right"></span>[% t.count %] [% h.loc("facets.external_publication") %]</a> | ||
[% ELSE %] | ||
<div class="text-success"><span class="glyphicon glyphicon-ok"></span> <strong>[% h.loc("facets.all_external_publication") %]</strong></div> | ||
[% END %] | ||
[% END %] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<button data-toggle="collapse" data-target="#extid_[% tabmodus %][% menu %]" class="btn-link"><span class="glyphicon glyphicon-chevron-down fw"></span>[% h.loc("facets.indexed_in") %]</button> | ||
<div class="facettecollapse"> | ||
<ul id="extid_[% tabmodus %][% menu %]" class="collapse"> | ||
[% IF facets.isi.terms.0.count %] | ||
[% IF facets.isi.terms.0.count < total %] | ||
<li><a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="isi" data-value="1" href="#" rel="nofollow"><span class="glyphicon glyphicon-chevron-right"></span>[% facets.isi.terms.0.count %] Web of Science</a></li> | ||
[% ELSE %] | ||
<div class="text-success margin-top1-2 margin-bottom1-2"><span class="glyphicon glyphicon-ok"></span> <strong>[% h.loc("facets.all_isi") %]</strong></div> | ||
[% END %] | ||
[% END %] | ||
[% IF facets.pmid.terms.0.count %] | ||
[% IF facets.pmid.terms.0.count < total %] | ||
<li><a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="pmid" data-value="1" href="#" rel="nofollow"><span class="glyphicon glyphicon-chevron-right"></span>[% facets.pmid.terms.0.count %] Pubmed</a></li> | ||
[% ELSE %] | ||
<div class="text-success margin-top1-2 margin-bottom1-2"><span class="glyphicon glyphicon-ok"></span> <strong>[% h.loc("facets.all_pubmed") %]</strong></div> | ||
[% END %] | ||
[% END %] | ||
</ul> | ||
</div> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[% FOREACH t IN facets.open_access.terms %] | ||
[% IF t.count < total %] | ||
<a class="facet_[% tabmodus %][% menu %]" data-key="cql" data-param="fulltext" data-value="1" href="#" rel="nofollow"><span class="glyphicon glyphicon-chevron-right"></span>[% t.count %] [% h.loc("facets.fulltext") %]</a> | ||
[% ELSE %] | ||
<div class="text-success margin-top1-2 margin-bottom1-2"><span class="glyphicon glyphicon-ok"></span> <strong>[% h.loc("facets.all_fulltext") %]</strong></div> | ||
[% END %] | ||
[% END %] |
Oops, something went wrong.