<%= MM.util.formatText(course.summary) %>

<% _.each(sections, function(section) { %> <% if (section.modules && section.modules.length >0) { %> <% if (course.managertype == 2 || course.managertype == 3) { %> <% if (section.name=="Offline") { %>
<% if (sections.length > 1) { %> <% if(section.summary) { %>

<%= MM.util.formatText(section.name) %>

<% } else { %>

<%= MM.util.formatText(section.name) %>

<% } %> <% } else if(section.summary) { %> <%= MM.util.formatText(section.summary) %> <% } %>
<% } %> <% } else { %> <% if (section.name!="Offline") { %>
<% if (sections.length > 1) { %> <% if(section.summary) { %>

<%= MM.util.formatText(section.name) %>

<% } else { %>

<%= MM.util.formatText(section.name) %>

<% } %> <% } else if(section.summary) { %> <%= MM.util.formatText(section.summary) %> <% } %>
<% } %> <% } %> <% } %> <% }); %>