refs #19292 [finc] simplify record icons
* move code for determination of record icon class type from template record-icon to record view helper * combine access icon and text ** add parameter addText to method getRecordIcon to return icon with text co-authored by: Dorian Merz <merz@ub.uni-leipzig.de> * some refactoring of cover loading logic ** include missing records ** introduce another helper function ** adapt template ** also refs #19382_b
Showing
- module/finc/src/finc/View/Helper/Root/Record.php 37 additions, 9 deletionsmodule/finc/src/finc/View/Helper/Root/Record.php
- themes/finc/templates/RecordDriver/DefaultRecord/record-icon-text.phtml 3 additions, 14 deletions...mplates/RecordDriver/DefaultRecord/record-icon-text.phtml
- themes/finc/templates/RecordDriver/DefaultRecord/record-icon.phtml 6 additions, 16 deletions...nc/templates/RecordDriver/DefaultRecord/record-icon.phtml
- themes/finc/templates/RecordDriver/DefaultRecord/result-list.phtml 0 additions, 1 deletion...nc/templates/RecordDriver/DefaultRecord/result-list.phtml
- themes/finc/templates/RecordDriver/SolrAI/result-list.phtml 0 additions, 1 deletionthemes/finc/templates/RecordDriver/SolrAI/result-list.phtml
- themes/finc/templates/record/cover.phtml 1 addition, 1 deletionthemes/finc/templates/record/cover.phtml
- themes/finc/templates/record/coverReplacement.phtml 1 addition, 1 deletionthemes/finc/templates/record/coverReplacement.phtml
Please register or sign in to comment