Skip to content
Snippets Groups Projects
Commit 3632f746 authored by uhensler's avatar uhensler
Browse files

OO-2916: Open Edubase reader on click of the book cover

parent e86426f4
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#foreach($bookSection in $bookSections)
<div class="o_edubase_booksection">
#set( $runindex = $run + $foreach.index)
<img src="$!{bookSection.getCoverUrl()}" onerror="if (this.src != '$r.staticLink('images/edubase/empty_cover.png')') this.src = '$r.staticLink('images/edubase/empty_cover.png')';">
<img src="$!{bookSection.getCoverUrl()}" onClick="$r.javaScriptCommand($runindex);" onerror="if (this.src != '$r.staticLink('images/edubase/empty_cover.png')') this.src = '$r.staticLink('images/edubase/empty_cover.png')';">
<div>
$r.escapeHtml($bookSection.getTitle())
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment