Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
demo-orgs: Update demo organization navbar alert text and links.
Lauryn Menardde4e369ece46
diff --git a/web/src/navbar_alerts.js b/web/src/navbar_alerts.jsindex 7832aa140ce..3bcb62193d9 100644--- a/web/src/navbar_alerts.js+++ b/web/src/navbar_alerts.js@@ -203,11 +203,6 @@ export function initialize() {$(window).trigger("resize");});- $(".hide-demo-organization-notice").on("click", function () {- $(this).closest(".alert").hide();- $(window).trigger("resize");- });-$(".accept-bankruptcy").on("click", function (e) {e.preventDefault();const $process = $(this).closest("[data-process]");diff --git a/web/templates/navbar_alerts/demo_organization_deadline.hbs b/web/templates/navbar_alerts/demo_organization_deadline.hbsindex cc548dfb1cc..ee79d4bcd26 100644--- a/web/templates/navbar_alerts/demo_organization_deadline.hbs+++ b/web/templates/navbar_alerts/demo_organization_deadline.hbs@@ -1,7 +1,7 @@<div data-step="1">{{#tr}}- This is a <z-link>demo organization</z-link> and will be automatically deleted in {days_remaining} days.- {{#*inline "z-link"}}<a class="alert-link" href="/help/demo-organizations" target="_blank" rel="noopener noreferrer" role="button" tabindex=0>{{> @partial-block}}</a>{{/inline}}+ This is a <z-link-general>demo organization</z-link-general> and will be automatically deleted in {days_remaining} days, unless it's <z-link-convert>converted into a permanent organization</z-link-convert>.+ {{#*inline "z-link-general"}}<a class="alert-link" href="/help/demo-organizations" target="_blank" rel="noopener noreferrer" role="button" tabindex=0>{{> @partial-block}}</a>{{/inline}}+ {{#*inline "z-link-convert"}}<a class="alert-link" href="/help/demo-organizations#convert-a-demo-organization-to-a-permanent-organization" target="_blank" rel="noopener noreferrer" role="button" tabindex=0>{{> @partial-block}}</a>{{/inline}}{{/tr}}- <a class="alert-link hide-demo-organization-notice" role="button" tabindex=0>{{t "Hide notice" }}</a></div>