<%- gettext("License Type") %>

<% var license = licenseInfo[model.type]; %> <% if(license && !_.isEmpty(license.options)) { %>

<%- gettext("Options for {license_name}").replace("{license_name}", license.name) %>

<%- gettext("The following options are available for the {license_name} license.") .replace("{license_name}", license.name) %>

<% } %> <% if (showPreview) { %>

<%- gettext("License Display") %>

<%- gettext("The following message will be displayed at the bottom of the courseware pages within your course:") %>

<% // keep this synchronized with the contents of common/templates/license.html %> <% if (model.type === "all-rights-reserved") { %> © <%- gettext("All Rights Reserved") %> <% } else if (model.type === "creative-commons") { var possible = ["by", "nc", "nd", "sa"]; var enabled = _.filter(possible, function(option) { return model.options[option] === true || model.options[option.toUpperCase()] === true; }); var version = model.options.ver || "4.0"; if (_.isEmpty(enabled)) { enabled = ["zero"]; version = model.options.ver || "1.0"; } %> /<%- version %>/"> <% if (previewButton) { %> /<%- version %>/<%- typeof buttonSize == "string" ? buttonSize : "88x31" %>.png" alt="<%- typeof licenseString == "string" ? licenseString : "" %>" /> <% } else { %> <% // must come before icon or else spacing gets messed up %> <%- gettext("Creative Commons licensed content, with terms as follow:") %>  <% _.each(enabled, function(option) { %> <%- license.options[option.toUpperCase()].name %>  <% }); %> <%- gettext("Some Rights Reserved") %> <% } %> <% } else { %> <%- typeof licenseString == "string" ? licenseString : "" %> <% // Default to ARR license %> © <%- gettext("All Rights Reserved") %> <% } %>
<% } %>