[bugzilla-gnome-org-customizations] template overrides: Add a hook



commit 19340010692175da09368477831c3a4de0aece04
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Mon Jan 26 23:13:44 2015 +0100

    template overrides: Add a hook
    
    This is for GnomeAttachmentStatus. We want to add an attachment status
    combobox here.

 .../attachment/createformcontents.html.tmpl        |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/TemplateOverrides/template/en/default/attachment/createformcontents.html.tmpl 
b/extensions/TemplateOverrides/template/en/default/attachment/createformcontents.html.tmpl
index 48e4f4a..72f5ad1 100644
--- a/extensions/TemplateOverrides/template/en/default/attachment/createformcontents.html.tmpl
+++ b/extensions/TemplateOverrides/template/en/default/attachment/createformcontents.html.tmpl
@@ -51,6 +51,7 @@
           bz_fireEvent(document.getElementById('ispatch'), 'change');
       });
     </script>
+    [% Hook.process("attachment_is_patch") %]
 
     <em>Otherwise, choose a method for determining the content type.</em><br>
     <input type="radio" id="autodetect"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]