FIX: "Customize text" link was broken on badges admin page ()

This commit is contained in:
Gerhard Schlager 2021-01-25 21:45:13 +01:00 committed by GitHub
parent f421d9bdd6
commit 363dca5ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
app/assets/javascripts/admin/addon/templates

View File

@ -5,7 +5,7 @@
{{#if readOnly}}
{{input type="text" name="name" value=buffered.name disabled=true}}
<p class="help">
{{#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}}
</p>
@ -70,7 +70,7 @@
{{#if buffered.system}}
{{textarea name="description" value=buffered.description disabled=true}}
<p class="help">
{{#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}}
</p>
@ -84,7 +84,7 @@
{{#if buffered.system}}
{{textarea name="long_description" value=buffered.long_description disabled=true}}
<p class="help">
{{#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}}
</p>