Skip to content

Commit

Permalink
feat: update share alike license text
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-arb committed Oct 16, 2023
1 parent 176b1d7 commit 3d36cc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cms/templates/js/license-selector.underscore
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@
<% _.each(enabled, function(option) { %>
<span class="sr"><%- license.options[option.toUpperCase()].name %>&nbsp;</span><span aria-hidden="true" class="icon-cc-<%- option %>"></span>
<% }); %>
<span class="license-text"><%- gettext("Some Rights Reserved") %></span>
<% if (enabled.includes('sa')) {%>
<span class="license-text"><%- gettext(`CC-by-sa ${version}`) %></span>
<%} else {%>
<span class="license-text"><%- gettext("Some Rights Reserved") %></span>
<% } %>
<% } %>
<% } else { %>
<%- typeof licenseString == "string" ? licenseString : "" %>
Expand Down

0 comments on commit 3d36cc5

Please sign in to comment.