Skip to content
Snippets Groups Projects
Commit 2aa03234 authored by srosse's avatar srosse
Browse files

OO-1068: fix course layout

parent d1f67744
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ import org.olat.course.run.environment.CourseEnvironment;
*/
public class CourseLayoutGeneratorController extends FormBasicController {
private static final String ELEMENT_ATTRIBUTE_DELIM = "::";
private static final String ELEMENT_ATTRIBUTE_DELIM = "__";
private static final String PREVIEW_IMAGE_NAME = "preview.png";
private CourseConfig courseConfig;
private SingleSelection styleSel;
......
<br/>
<table>
<table class="table table-bordered">
<tr>
<th>&nbsp;</th>
#foreach( $attrib in $allAttribs )
......@@ -17,7 +16,7 @@
#set($elAttribs = $element.getValue())
#foreach( $attrib in $allAttribs )
<td>
<td class="">
#set($attribName = $attrib.getLayoutAttributeTypeName())
#if ($elAttribs.get($attribName))
$r.render($elAttribs.get($attribName).getName())
......
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