FIX: "Customize text" link was broken on badges admin page (#11842)
This commit is contained in:
parent
f421d9bdd6
commit
363dca5ddc
app/assets/javascripts/admin/addon/templates
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue