Semester page for IN5030 - Spring 2022
{## [if response . payload . status = error]
<p>Feil ved henting av pensumliste(r) for [val course-code]:<p><pre> [val response.payload.message]</pre>
[/if] – .status: first argument is NULL ##}
{## [if response . payload . status = success]
[def units attempt([[] => response.json-select(["payload.result.units"])])]
[if units . success ( )]
[if units . value ( ) . length ( ) = 1]
[def reading_list attempt([[] => response.json-select(["payload.result.units[0].reading_lists[0]"])])]
[if reading_list . success ( )]
[def leganto-url leganto-url-template.apply([{'reading_list_id'=reading_list.value([]).id}])]
vtk.text.tl.CaptureHandler$1@7bfec2f2
[def linkList linkList.append([link])]
[/if]
[/if]
[/if]
[/if] – .status: first argument is NULL ##}
{## [if response . payload . status = error]
<p>Feil ved henting av pensumliste(r) for [val course-code]:</p> <pre>[val response.payload.message]</pre>
[/if] – .status: first argument is NULL ##}
{## [if response . payload . status = success]
[def units attempt([[] => response.json-select(["payload.result.units"])])]
[if units . success ( )]
[if units . value ( ) . length ( ) > 1]
<div class="vrtx-frontpage-box white-box">
<h2>vtk.resourcemanagement.view.tl.LocalizationNodeFactory$1@119ccca5</h2>
<p>vtk.resourcemanagement.view.tl.LocalizationNodeFactory$1@31ffebc5</p>
<h3 class="accordion">vtk.resourcemanagement.view.tl.LocalizationNodeFactory$1@589aa7a0</h3>
<ul>
[list response.payload.result.units unit]
[def reading_list attempt([[] => unit.json-select(["reading_lists[0]"])])]
[def url leganto-url-template.apply([{'reading_list_id'=reading_list.value([]).id}])]
<li><a href=[val url]>[val unit.name]</a></li>
[/list]
</ul>
</div>
[/if]
[/if]
[/if] – .status: first argument is NULL ##}