The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit d281e08a authored by ha848myco's avatar ha848myco Committed by Robert Lange
Browse files

refs #17407 [fid_bbi] List resources/sources via amsl.api

* Add new conf file Amsl.ini to fid_bbi
** Set related url to the resource for DE-23
** Set mappings for main_key and sub_key
* Place the link to the resources within the footer.phtml
* Auxillary translations
* Set isil to FID-BBI-DE-23 in Amsl.ini

refs #17407 [fid_bbi] Remove library specific AMSL changes which are just solved in finc
* Remove file amsl/sources-list.phtml
* Remove block AMSL from compiled.scss
parent 96224fd2
No related merge requests found
;####################################################################
;##################### DO NOT DELETE THIS HEADER ####################
;################### Leipzig University Library © 2020 ##############
;
; This is the ISIL-instance-specific default INI-file and inherits
; all the settings from the INI-file defined in [Parent_Config] which
; points to the default INI-file located in the folder vufind2/local
;
[Parent_Config]
;relative_path = ../../../local/config/vufind/Amsl.ini
; A comma-separated list of config sections from the parent which should be
; completely overwritten by the equivalent sections in this configuration;
; any sections not listed here will be merged on a section-by-section basis.
;override_full_sections = "Languages,AlphaBrowse_Types"
;
; Add instance-specific customization after this header.
;
;##################### DO NOT DELETE THIS HEADER ####################
;####################################################################
[API]
;url = "https://live.amsl.technology/inhouseservices/list?do=catalog_metadataList&isil=DE-23"
url = "https://live.amsl.technology/inhouseservices/list?do=catalog_metadataList&isil=FID-BBI-DE-23"
response_type = 'application/json'
; Contains label patterns for two layers of source hierarchy
; these will normally be source and collection represented by main_label and sub_label, resp.
; use array_keys in double percent signs to be rendered in the labels
; the main label MUST contain the main key and the main key SHOULD identify the source
; same for the sub key and label
[Mapping]
main_key = 'source_id'
main_label = '%%source_id%%: %%source_label%%'
default_main_label = 'untitled source'
sub_key = 'collection_label'
sub_label = '%%collection_label%%'
default_sub_label = 'untilted collection'
......@@ -468,4 +468,7 @@ add_tag_success = "Tags gespeichert. Beachten Sie, dass Tags nach einer Woche ö
Open Access = Kostenfrei Zugänglich
#16470
Link to WorldCat record = "Link zum Datensatz des WorldCat"
\ No newline at end of file
Link to WorldCat record = "Link zum Datensatz des WorldCat"
; #17407
Amsl_Resources = "Liste der Datenquellen"
......@@ -461,4 +461,7 @@ add_tag_success = "Tags saved. Please remember that tags will be publicly visibl
Open Access = Free Access
#16470
Link to WorldCat record = "Link to WorldCat record"
\ No newline at end of file
Link to WorldCat record = "Link to WorldCat record"
; #17407
Amsl_Resources = "List of metadata sources"
<!-- finc: footer -->
<!-- fid-bbi: footer -->
<?php /* Add link to Resources - #17407 - HR */?>
<footer class="hidden-print">
<div class="footer-container">
<div class="footer-column">
<p><strong><?=$this->transEsc('Search Options')?></strong></p>
<ul>
<li><a href="<?=$this->url('search-advanced')?>"><?=$this->transEsc('Advanced Search')?></a></li>
<li><a href="<?=$this->url('search-sources')?>"><?=$this->transEsc('Data Collection')?></a></li>
<li><a data-toggle="collapse" data-target="#searchbox-snippet"><?=$this->transEsc('embed_searchbox_button')?></a></li>
<li><a href="<?=$this->url('search-advanced')?>"><?=$this->transEsc('Advanced Search')?></a></li>
<li><a href="<?=$this->url('search-sources')?>"><?=$this->transEsc('Data Collection')?></a></li>
<li><a data-toggle="collapse" data-target="#searchbox-snippet"><?=$this->transEsc('embed_searchbox_button')?></a></li>
<li><a href="<?=$this->url('resources')?>"><?=$this->translate('Amsl_Resources')?></a></li>
</ul>
</div>
<div class="footer-column">
<p><strong><?=$this->transEsc('More Information')?></strong></p>
<ul>
<li><a href="<?=$this->url('content-page', ['page' => 'about'])?>"><?=$this->transEsc('About Us')?></a></li>
<li><a href="<?=$this->url('content-page', ['page' => 'faq'])?>"><?=$this->transEsc('FAQs')?></a></li>
<li><a href="<?=$this->url('fid/user/terms')?>"><?=$this->transEsc('Terms of Use')?></a></li>
<li><a href="<?=$this->url('fid/user/policy')?>"><?=$this->transEsc('Privacy Policy')?></a></li>
<li><a href="<?=$this->url('content-page', ['page' => 'about'])?>"><?=$this->transEsc('About Us')?></a></li>
<li><a href="<?=$this->url('content-page', ['page' => 'faq'])?>"><?=$this->transEsc('FAQs')?></a></li>
<li><a href="<?=$this->url('fid/user/terms')?>"><?=$this->transEsc('Terms of Use')?></a></li>
<li><a href="<?=$this->url('fid/user/policy')?>"><?=$this->transEsc('Privacy Policy')?></a></li>
</ul>
</div>
<div class="footer-column">
......@@ -26,20 +29,20 @@
<?=$this->transEsc('Email')?>: <a data-lightbox href="<?=$this->url('feedback-home')?>">fid@hab.de</a></p>
</div>
<?php if ($this->permission()->allowDisplay('fid.ReadList')): ?>
<div class="footer-column">
<p><strong><?=$this->transEsc('fid::admin_section')?></strong></p>
<p><a href="<?=$this->url('fid/admin/list')?>"><?=$this->transEsc('fid::permission_read_user_list')?></a></p>
<p><a href="<?=$this->url('admin/tags', ['action' => 'List'])?>"><?=$this->transEsc('Tag Management')?></a></p>
</div>
<div class="footer-column">
<p><strong><?=$this->transEsc('fid::admin_section')?></strong></p>
<p><a href="<?=$this->url('fid/admin/list')?>"><?=$this->transEsc('fid::permission_read_user_list')?></a></p>
<p><a href="<?=$this->url('admin/tags', ['action' => 'List'])?>"><?=$this->transEsc('Tag Management')?></a></p>
</div>
<?php endif; ?>
</div>
<pre id="searchbox-snippet" class="collapse">
<strong><?=$this->transEsc('embed_searchbox_help',["%%bbi_url%%" => $this->url('home',[],['force_canonical'=>true])])?></strong>
<?=$this->escapeHtml('<!-- Search BBI -->
<form method="get" action="'.$this->url('search-results',[],['force_canonical'=>true]).'" name="bbisearch">
<strong><?=$this->transEsc('embed_searchbox_help',["%%bbi_url%%" => $this->url('home',[],['force_canonical'=>true])])?></strong>
<?=$this->escapeHtml('<!-- Search BBI -->
<form method="get" action="'.$this->url('search-results',[],['force_canonical'=>true]).'" name="bbisearch">
<input type="text" name="lookfor" class="inputbox" value="">
<input type="submit" name="btnBBI" value="BBI-Suche">
</form>
</form>
<!-- Search BBI - END -->')?></pre>
<?php /* finc branding footer */ ?>
<hr>
......@@ -55,4 +58,4 @@
<?php if ($this->fidisStatus): ?>
<div class="fidis-status"><?=$this->fidisStatus?></div>
<?php endif; ?>
<!-- finc: Footer - END -->
<!-- fid-bbi: Footer - END -->
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment