<%= name %>

    <% if (!_.isUndefined(id)) { %>
  1. <%= gettext('ID') %>: <%= id %>
  2. <% } %> <% if (showGroups) { %>
  3. <%= description %>
  4. <% } else { %>
  5. <%= groupsCountMessage %>
  6. <%= usageCountMessage %>
  7. <% } %>
<% if(showGroups) { %> <% allocation = Math.floor(100 / groups.length) %>
    <% groups.each(function(group, groupIndex) { %>
  1. <%= group.get('name') %> <%= allocation %>%
  2. <% }) %>
<% } %>
<% if(showGroups) { %>
<% if (!_.isEmpty(usage)) { %>

<%= gettext('This Group Configuration is used in:') %>

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

    <% if (unit.validation) { %>

    <% if (unit.validation.type === 'warning') { %> <% } else if (unit.validation.type === 'error') { %> <% } %> <%= unit.validation.text %>

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

<%= outlineAnchorMessage %>

<% } %>
<% } %>