From 363dca5ddc79f92d4b405d2fbfe9d8a1ece5c496 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Mon, 25 Jan 2021 21:45:13 +0100 Subject: [PATCH] FIX: "Customize text" link was broken on badges admin page (#11842) --- .../javascripts/admin/addon/templates/badges-show.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/admin/addon/templates/badges-show.hbs b/app/assets/javascripts/admin/addon/templates/badges-show.hbs index 82057b103c1..429f0cbc94d 100644 --- a/app/assets/javascripts/admin/addon/templates/badges-show.hbs +++ b/app/assets/javascripts/admin/addon/templates/badges-show.hbs @@ -5,7 +5,7 @@ {{#if readOnly}} {{input type="text" name="name" value=buffered.name disabled=true}}

- {{#link-to "adminSiteText.edit" (concat textCustomizationPrefix "name")}} + {{#link-to "adminSiteText" (query-params q=(concat textCustomizationPrefix "name"))}} {{i18n "admin.badges.read_only_setting_help"}} {{/link-to}}

@@ -70,7 +70,7 @@ {{#if buffered.system}} {{textarea name="description" value=buffered.description disabled=true}}

- {{#link-to "adminSiteText.edit" (concat textCustomizationPrefix "description")}} + {{#link-to "adminSiteText" (query-params q=(concat textCustomizationPrefix "description"))}} {{i18n "admin.badges.read_only_setting_help"}} {{/link-to}}

@@ -84,7 +84,7 @@ {{#if buffered.system}} {{textarea name="long_description" value=buffered.long_description disabled=true}}

- {{#link-to "adminSiteText.edit" (concat textCustomizationPrefix "long_description")}} + {{#link-to "adminSiteText" (query-params q=(concat textCustomizationPrefix "long_description"))}} {{i18n "admin.badges.read_only_setting_help"}} {{/link-to}}