<%- name %>

    <% if (!_.isUndefined(id)) { %>
  1. <%- gettext('ID') %>: <%- id %>
  2. <% } %> <% if (!showContentGroupUsages) { %>
  3. <%- usageCountMessage %>
  4. <% } %>
<% if (showContentGroupUsages) { %>
<% if (!_.isEmpty(usage)) { %>

<%- gettext('This content group is used in:') %>

    <% _.each(usage, function(unit) { %>
  1. ><%- unit.label %>

  2. <% }) %>
<% } else { %>

<%= HtmlUtils.interpolateHtml( gettext('This content group is not in use. Add a content group to any unit from the {linkStart}Course Outline{linkEnd}.'), { linkStart: HtmlUtils.interpolateHtml( HtmlUtils.HTML(''), {courseOutlineUrl: courseOutlineUrl, courseOutlineTitle: gettext('Course Outline')}), linkEnd: HtmlUtils.HTML('') }) %>

<% } %>
<% } %>