summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2012-12-02 19:23:58 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-02 19:23:58 +0100
commitb3821a27575b9df948e7387b9499a020e4a2dd34 (patch)
treea257a9547906c8fbadf70d6afef29ac6a3b029c0 /template
parentca9a9be386bd21415245937fbb110d706e1a5d05 (diff)
downloadbugzilla-b3821a27575b9df948e7387b9499a020e4a2dd34.tar.gz
bugzilla-b3821a27575b9df948e7387b9499a020e4a2dd34.tar.xz
Bug 460372: The confirmation thrown when deleting a custom field, component, version or product must have a red background if the deletion affects bugs
r/a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/components/confirm-delete.html.tmpl3
-rw-r--r--template/en/default/admin/custom_fields/confirm-delete.html.tmpl3
-rw-r--r--template/en/default/admin/milestones/confirm-delete.html.tmpl8
-rw-r--r--template/en/default/admin/products/confirm-delete.html.tmpl2
-rw-r--r--template/en/default/admin/versions/confirm-delete.html.tmpl3
5 files changed, 10 insertions, 9 deletions
diff --git a/template/en/default/admin/components/confirm-delete.html.tmpl b/template/en/default/admin/components/confirm-delete.html.tmpl
index f69efd9ec..d85e17c12 100644
--- a/template/en/default/admin/components/confirm-delete.html.tmpl
+++ b/template/en/default/admin/components/confirm-delete.html.tmpl
@@ -19,6 +19,7 @@ from '[% product.name FILTER html %]' product
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<table border="1" cellpadding="4" cellspacing="0">
@@ -92,7 +93,7 @@ from '[% product.name FILTER html %]' product
[% IF comp.bug_count %]
[% IF !Param("allowbugdeletion") %]
- <p>
+ <p class="confirmation">
Sorry, there
[% IF comp.bug_count > 1 %]
diff --git a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
index b1efc94a7..85338c003 100644
--- a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
+++ b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl
@@ -19,6 +19,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
doc_section = "custom-fields.html#delete-custom-fields"
%]
@@ -43,7 +44,7 @@
<h2>Confirmation</h2>
-<p>
+<p class="confirmation">
Are you sure you want to remove this field from the database?<br>
<em>This action will only be successful if the field is obsolete,
and has never been used in [% terms.abug FILTER html %].</em>
diff --git a/template/en/default/admin/milestones/confirm-delete.html.tmpl b/template/en/default/admin/milestones/confirm-delete.html.tmpl
index 5ab10c52c..d0b69b8ac 100644
--- a/template/en/default/admin/milestones/confirm-delete.html.tmpl
+++ b/template/en/default/admin/milestones/confirm-delete.html.tmpl
@@ -18,6 +18,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<table border="1" cellpadding="4" cellspacing="0">
@@ -53,8 +54,7 @@
[% IF milestone.bug_count %]
- <table border="0" cellpadding="20" width="70%" bgcolor="red">
- <tr><td>
+ <p class="confirmation">
There
[% IF milestone.bug_count > 1 %]
are [% milestone.bug_count FILTER none %] [%+ terms.bugs %]
@@ -65,9 +65,7 @@
<b><blink>ALL</blink></b> of these [% terms.bugs %] will be retargeted
to [% product.default_milestone FILTER html %], the default milestone for
the [% product.name FILTER html %] product.
- </td></tr>
- </table>
-
+ </p>
[% END %]
<p>Do you really want to delete this milestone?<p>
diff --git a/template/en/default/admin/products/confirm-delete.html.tmpl b/template/en/default/admin/products/confirm-delete.html.tmpl
index 8d0d55c42..3b1c05fe2 100644
--- a/template/en/default/admin/products/confirm-delete.html.tmpl
+++ b/template/en/default/admin/products/confirm-delete.html.tmpl
@@ -194,7 +194,7 @@
[% IF !Param("allowbugdeletion") %]
- <p>Sorry, there
+ <p class="confirmation">Sorry, there
[% IF product.bug_count > 1 %]
are [% product.bug_count FILTER html %] [%+ terms.bugs %]
diff --git a/template/en/default/admin/versions/confirm-delete.html.tmpl b/template/en/default/admin/versions/confirm-delete.html.tmpl
index 3be089682..e6f39226f 100644
--- a/template/en/default/admin/versions/confirm-delete.html.tmpl
+++ b/template/en/default/admin/versions/confirm-delete.html.tmpl
@@ -18,6 +18,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<table border="1" cellpadding="4" cellspacing="0">
@@ -52,7 +53,7 @@
<h2>Confirmation</h2>
[% IF version.bug_count %]
- <p>
+ <p class="confirmation">
Sorry, there
[% IF version.bug_count > 1 %]
are [% version.bug_count FILTER none %] outstanding [% terms.bugs %]