# HG changeset patch # User Bartlomiej Wolynczyk # Date 2020-03-02 14:13:24 # Node ID 7bc9363b1da25b934698e30f02b1ffca4f12e78c # Parent 864142424e7f1ef2a0b728efa5d5df144beaf375 descriptions: show mention of metatags only if they are enabled. diff --git a/rhodecode/templates/admin/repo_groups/repo_group_add.mako b/rhodecode/templates/admin/repo_groups/repo_group_add.mako --- a/rhodecode/templates/admin/repo_groups/repo_group_add.mako +++ b/rhodecode/templates/admin/repo_groups/repo_group_add.mako @@ -55,7 +55,13 @@
${h.textarea('group_description',cols=23,rows=5,class_="medium")} <% metatags_url = h.literal('''meta-tags''') %> - ${_('Plain text format with support of {metatags}').format(metatags=metatags_url)|n} + + % if c.visual.stylify_metatags: + ${_('Plain text format with {metatags} support.').format(metatags=metatags_url)|n} + % else: + ${_('Plain text format.')} + % endif +