From 3d36cc5f9a776887205c62d70a960fb0fd9bd333 Mon Sep 17 00:00:00 2001 From: Ahmed Khalid <106074266+ahmed-arb@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:18:11 +0500 Subject: [PATCH] feat: update share alike license text --- cms/templates/js/license-selector.underscore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cms/templates/js/license-selector.underscore b/cms/templates/js/license-selector.underscore index 6bf3c97806a3..ab7752f56fce 100644 --- a/cms/templates/js/license-selector.underscore +++ b/cms/templates/js/license-selector.underscore @@ -102,7 +102,11 @@ <% _.each(enabled, function(option) { %> <%- license.options[option.toUpperCase()].name %>  <% }); %> - <%- gettext("Some Rights Reserved") %> + <% if (enabled.includes('sa')) {%> + <%- gettext(`CC-by-sa ${version}`) %> + <%} else {%> + <%- gettext("Some Rights Reserved") %> + <% } %> <% } %> <% } else { %> <%- typeof licenseString == "string" ? licenseString : "" %>