diff options
author | Marc Schumann <wurblzap@gmail.com> | 2012-10-16 20:26:54 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2012-10-16 20:26:54 +0200 |
commit | af38912df5c0f57ad40377119b91dd03d8f9b520 (patch) | |
tree | bd04fc880184f7b063e17d12af2d13ef1f5998cc /template/en/default/global | |
parent | b60afed2cc7c8776217444049e5ebfadf5839a24 (diff) | |
download | bugs-af38912df5c0f57ad40377119b91dd03d8f9b520.tar bugs-af38912df5c0f57ad40377119b91dd03d8f9b520.tar.gz bugs-af38912df5c0f57ad40377119b91dd03d8f9b520.tar.bz2 bugs-af38912df5c0f57ad40377119b91dd03d8f9b520.tar.xz bugs-af38912df5c0f57ad40377119b91dd03d8f9b520.zip |
Bug 604388 - Filenames used to store data for Old Charts should be based on product IDs, not names (avoid dataloss when renaming products).
r/a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 9fd326051..8945ba445 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -55,8 +55,8 @@ [% ELSIF error == "chart_data_not_generated" %] [% admindocslinks = {'extraconfig.html' => 'Setting up Charting'} %] - [% IF product %] - Charts for the <em>[% product FILTER html %]</em> product are not + [% IF product.id %] + Charts for the <em>[% product.name FILTER html %]</em> product are not available yet because no charting data has been collected for it since it was created. [% ELSE %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 39d07653c..e7d3061a9 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -962,10 +962,6 @@ [% title = "Invalid Parameter" %] The new value for [% name FILTER html %] is invalid: [% err FILTER html %]. - [% ELSIF error == "invalid_product_name" %] - [% title = "Invalid Product Name" %] - The product name '[% product FILTER html %]' is invalid or does not exist. - [% ELSIF error == "invalid_regexp" %] [% title = "Invalid regular expression" %] The regular expression you entered is invalid. |