Pensum/litteraturliste – Våren 2021

{## [if units . value ( ) . length ( ) = 1] [def reading_list attempt([[] => leganto.json-select(["content.units[0].reading_lists[0]"])])] [if reading_list . success ( )] [with settings()] [with services] [def url-template template([legantoURLTemplate])] [def url url-template.apply([{'reading_list_id'=reading_list.value([]).id}])] ... [/with] ... [/with] [/if] [/if] – Argument is NULL ##}

Se pensum/litteraturliste i Leganto

Her får du:

  • direkte tilgang til digitale referanser
  • se tilgjengelighet på biblioteket
{## [list leganto.content.units unit] [def multiple_units (_size > 1)] [if ! display_disabled || multiple_units] <div class="syllabus-unit"> [/if] [if multiple_units] <h2>[val unit.name]</h2> [def reading_list attempt([[] => unit.json-select(["reading_lists[0]"])])] [if reading_list . success ( )] [call[comp:reading-list-url, {, reading_list, :, reading_list, ., value, (, ), }]] [/if] [/if] [if ! display_disabled] [list unit.reading_lists reading-list] [with reading-list] [list sections section] <div class="syllabus-section"> [if multiple_units] <h3>[val section.name.default(["No title"])]</h3> [else] <h2>[val section.name.default(["No title"])]</h2> [/if] [list section.citations cit] [def type cit.json-select(['type.value'])] [def secondary_type cit.json-select(['secondary_type.value'])] [with cit.metadata] [def component_params {'title'=title.default([null]), 'article_title'=article_title.default([null]), 'chapter_title'=chapter_title.default([null]), 'author'=author.default([null]), 'chapter_author'=chapter_author.default([null]), 'additional_person_name'=additional_person_name.default([null]), 'publication_date'=publication_date.default([year]).default([null]), 'journal_title'=journal_title.default([null]), 'volume'=volume.default([null]), 'issue'=issue.default([null]), 'year'=year.default([null]), 'place_of_publication'=place_of_publication.default([null]), 'publisher'=publisher.default([null]), 'pages'=pages.default([null])}] [if type = BK && secondary_type = BK_C] [!-- Book chapter --] [if component-available ( leganto:format-book-chapter )] [call[leganto:format-book-chapter, component_params]] [else] [call[comp:format-book-chapter, component_params]] [/if] [elseif type = CR] [!-- Article --] [if component-available ( leganto:format-article )] [call[leganto:format-article, component_params]] [else] [call[comp:format-article, component_params]] [/if] [else] [if component-available ( leganto:format-default )] [call[leganto:format-default, component_params]] [else] [call[comp:format-default, component_params]] [/if] [/if] ... [/with] [/list] </div> [/list] ... [/with] [/list] [/if] [if ! display_disabled || multiple_units] </div> [/if] [/list] – .units: first argument is NULL ##}