]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 460372: The confirmation thrown when deleting a custom field, component, version...
authorSunil Joshi <joshi_sunil@in.com>
Sun, 2 Dec 2012 18:23:58 +0000 (19:23 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 2 Dec 2012 18:23:58 +0000 (19:23 +0100)
r/a=LpSolit

skins/standard/admin.css
template/en/default/admin/components/confirm-delete.html.tmpl
template/en/default/admin/custom_fields/confirm-delete.html.tmpl
template/en/default/admin/milestones/confirm-delete.html.tmpl
template/en/default/admin/products/confirm-delete.html.tmpl
template/en/default/admin/versions/confirm-delete.html.tmpl

index 0b138642c145ef41c10c1302d7ee32c7908864e9..c2b822bbeb1d36eaec5b62a5b717b66b5917b38d 100644 (file)
     background-color: inherit;
 }
 
+.confirmation {
+    background-color: red;
+    padding: 3ex;
+    width: 70%;
+}
+
 p.areyoureallyreallysure {
     color: red;
     font-size: 120%;
index f69efd9eca67c092e2f6635fa520ce7e33131c27..d85e17c12c8c034e82d182a13cf5f23a23f89ec0 100644 (file)
@@ -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 %] 
index b1efc94a79a32e36a6b086652fc0a7310658ef9d..85338c0034f62e5955a0f396080b0dde11afd6cc 100644 (file)
@@ -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>
index 5ab10c52c443f03161542b2fd245478251c7c985..d0b69b8aca65cf67513d05d7468fd39e00c6f2e9 100644 (file)
@@ -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>
index 8d0d55c4238242256dbda5c6a1a358440f87be76..3b1c05fe2aebecbc86657672c41a7c2752e440e0 100644 (file)
 
   [% IF !Param("allowbugdeletion") %]
 
-    <p>Sorry, there
+    <p class="confirmation">Sorry, there
 
     [% IF product.bug_count > 1 %]
       are [% product.bug_count FILTER html %] [%+ terms.bugs %]
index 3be089682354ebb007862bdaf682657780cde9da..e6f39226fa22d2537bcfedbbd26ead81c7129316 100644 (file)
@@ -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 %]