summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl')
-rw-r--r--extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl
index f17df1bdf..13f9980dc 100644
--- a/extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -54,4 +54,14 @@
[% title = "Invalid flag type" %]
The flag type '[% type FILTER html %]' is invalid.
+[% ELSIF error == "tracking_flag_has_activity" %]
+ [% title = "Tracking Flag Has Activity" %]
+ The tracking flag '[% flag.name FILTER html %]' cannot be deleted because
+ it has recorded activity.
+
+[% ELSIF error == "tracking_flag_has_contents" %]
+ [% title = "Tracking Flag Has Contents" %]
+ The tracking flag '[% flag.name FILTER html %]' cannot be deleted because
+ at least one [% terms.bug %] has a non empty value for this field.
+
[% END %]