diff options
author | Simon Green <mail@simon.green> | 2016-10-30 05:53:25 +0100 |
---|---|---|
committer | Simon Green <mail@simon.green> | 2016-10-30 05:53:25 +0100 |
commit | 06779036db44ec799fee99173015c5349eb80c92 (patch) | |
tree | 098b3bdbda7a7a96cdcc777b5e547caa15fbdf89 /template | |
parent | 6cf171cc006d4a4ec4ee5da30b4349e49f76845d (diff) | |
download | bugzilla-06779036db44ec799fee99173015c5349eb80c92.tar.gz bugzilla-06779036db44ec799fee99173015c5349eb80c92.tar.xz |
Bug 331007 - alias_in_use doesn't acknowledge that you could remove the alias from the other bug
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index d1724635a..2bbc07bc9 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -79,13 +79,14 @@ [% ELSIF error == "alias_in_use" %] [% title = "Alias In Use" %] - [% IF user.can_see_bug(bug_id) %] - [% terms.Bug %] [%+ bug_id FILTER bug_link(bug_id) FILTER none %] + [% IF user.can_see_bug(other_bug.id) %] + [% terms.Bug %] [%+ other_bug.id FILTER bug_link(other_bug.bug_id) FILTER none %] + is currently using the alias <em>[% alias FILTER html %]</em>. + Please choose another alias[% IF other_bug.check_can_change_field('alias', 0, 1) %] or visit that [% terms.bug %] and change its alias[% END %]. [% ELSE %] - Another [% terms.bug %] + The alias <em>[% alias FILTER html %]</em> is already used by another + [% terms.bug %] you are not allowed to see. Please choose another alias. [% END %] - has already taken the alias <em>[% alias FILTER html %]</em>. - Please choose another alias. [% ELSIF error == "alias_is_numeric" %] [% title = "Alias Is Numeric" %] |