Commit d481dc8b authored by Sunil Joshi's avatar Sunil Joshi Committed by Frédéric Buclin

Bug 460372: The confirmation thrown when deleting a custom field, component,…

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
parent 6ae8a6e4
......@@ -27,6 +27,12 @@
background-color: inherit;
}
.confirmation {
background-color: red;
padding: 3ex;
width: 70%;
}
p.areyoureallyreallysure {
color: red;
font-size: 120%;
......
......@@ -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 %]
......
......@@ -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>
......
......@@ -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>
......
......@@ -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 %]
......
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment