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 @@ ...@@ -27,6 +27,12 @@
background-color: inherit; background-color: inherit;
} }
.confirmation {
background-color: red;
padding: 3ex;
width: 70%;
}
p.areyoureallyreallysure { p.areyoureallyreallysure {
color: red; color: red;
font-size: 120%; font-size: 120%;
......
...@@ -19,6 +19,7 @@ from '[% product.name FILTER html %]' product ...@@ -19,6 +19,7 @@ from '[% product.name FILTER html %]' product
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
...@@ -92,7 +93,7 @@ from '[% product.name FILTER html %]' product ...@@ -92,7 +93,7 @@ from '[% product.name FILTER html %]' product
[% IF comp.bug_count %] [% IF comp.bug_count %]
[% IF !Param("allowbugdeletion") %] [% IF !Param("allowbugdeletion") %]
<p> <p class="confirmation">
Sorry, there Sorry, there
[% IF comp.bug_count > 1 %] [% IF comp.bug_count > 1 %]
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
doc_section = "custom-fields.html#delete-custom-fields" doc_section = "custom-fields.html#delete-custom-fields"
%] %]
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
<h2>Confirmation</h2> <h2>Confirmation</h2>
<p> <p class="confirmation">
Are you sure you want to remove this field from the database?<br> 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, <em>This action will only be successful if the field is obsolete,
and has never been used in [% terms.abug FILTER html %].</em> and has never been used in [% terms.abug FILTER html %].</em>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
...@@ -53,8 +54,7 @@ ...@@ -53,8 +54,7 @@
[% IF milestone.bug_count %] [% IF milestone.bug_count %]
<table border="0" cellpadding="20" width="70%" bgcolor="red"> <p class="confirmation">
<tr><td>
There There
[% IF milestone.bug_count > 1 %] [% IF milestone.bug_count > 1 %]
are [% milestone.bug_count FILTER none %] [%+ terms.bugs %] are [% milestone.bug_count FILTER none %] [%+ terms.bugs %]
...@@ -65,9 +65,7 @@ ...@@ -65,9 +65,7 @@
<b><blink>ALL</blink></b> of these [% terms.bugs %] will be retargeted <b><blink>ALL</blink></b> of these [% terms.bugs %] will be retargeted
to [% product.default_milestone FILTER html %], the default milestone for to [% product.default_milestone FILTER html %], the default milestone for
the [% product.name FILTER html %] product. the [% product.name FILTER html %] product.
</td></tr> </p>
</table>
[% END %] [% END %]
<p>Do you really want to delete this milestone?<p> <p>Do you really want to delete this milestone?<p>
......
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
[% IF !Param("allowbugdeletion") %] [% IF !Param("allowbugdeletion") %]
<p>Sorry, there <p class="confirmation">Sorry, there
[% IF product.bug_count > 1 %] [% IF product.bug_count > 1 %]
are [% product.bug_count FILTER html %] [%+ terms.bugs %] are [% product.bug_count FILTER html %] [%+ terms.bugs %]
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style_urls = ['skins/standard/admin.css']
%] %]
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
...@@ -52,7 +53,7 @@ ...@@ -52,7 +53,7 @@
<h2>Confirmation</h2> <h2>Confirmation</h2>
[% IF version.bug_count %] [% IF version.bug_count %]
<p> <p class="confirmation">
Sorry, there Sorry, there
[% IF version.bug_count > 1 %] [% IF version.bug_count > 1 %]
are [% version.bug_count FILTER none %] outstanding [% terms.bugs %] 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