diff options
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 76823cdbc..c696989f2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -907,8 +907,8 @@ 'components.html' => 'Creating a component'} %] Sorry, the product <em>[% product FILTER html %]</em> has to have at least one component in order for you to - enter [% terms.abug %] into it.<p> - [% IF UserInGroup("editcomponents") %] + enter [% terms.abug %] into it.<br> + [% IF user.in_group("editcomponents") %] <a href="editcomponents.cgi?action=add&product=[% product FILTER url_quote %]">Create a new component</a>. [% ELSE %] @@ -980,7 +980,7 @@ Sorry, the product <em>[% product FILTER html %]</em> has to have at least one version in order for you to enter [% terms.abug %] into it.<p> - [% IF UserInGroup("editcomponents") %] + [% IF user.in_group("editcomponents") %] <a href="editversions.cgi?action=add&product=[% product FILTER url_quote %]">Create a new version</a>. [% ELSE %] |