[bugzilla-gnome-org-extensions] template overrides: Minimize changes in attachment/edit override
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] template overrides: Minimize changes in attachment/edit override
- Date: Thu, 20 Nov 2014 22:27:50 +0000 (UTC)
commit d949fae206f4d2b9dd8629b3ecf044aa43e5f445
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Nov 19 12:29:16 2014 +0100
template overrides: Minimize changes in attachment/edit override
Introduce a hook that will be used by GnomeAttachmentStatus extension.
.../template/en/default/attachment/edit.html.tmpl | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/TemplateOverrides/template/en/default/attachment/edit.html.tmpl
b/TemplateOverrides/template/en/default/attachment/edit.html.tmpl
index 6dceb31..06664cd 100644
--- a/TemplateOverrides/template/en/default/attachment/edit.html.tmpl
+++ b/TemplateOverrides/template/en/default/attachment/edit.html.tmpl
@@ -21,7 +21,7 @@
header = header
subheader = subheader
doc_section = "attachments.html"
- javascript_urls = ['js/attachment.js', 'js/field.js',
'extensions/GnomeAttachmentStatus/web/gnome_attachment_status.js']
+ javascript_urls = ['js/attachment.js', 'js/field.js']
style_urls = ['skins/standard/attachment.css']
yui = [ 'autocomplete' ]
bodyclasses = "no_javascript"
@@ -145,20 +145,7 @@
[% END %]
</div>
</div>
- <div id="attachment_gnome_attachment_status_combo">
- <input type="hidden" value="none" id="gnome_attachment_status_hidden"
name="gnome_attachment_status" [% IF attachment.ispatch %] disabled [% END %]/>
- <b><label for="gnome_attachment_status">Status</label>:</b>
- <select id="gnome_attachment_status_combo" name="gnome_attachment_status"
- [% UNLESS attachment.ispatch %] disabled [% END %]>
- [% FOREACH gnome_attachment_status = all_gnome_attachment_status_values %]
- <option value="[% gnome_attachment_status.value FILTER html %]"
- [% IF attachment.gnome_attachment_status == gnome_attachment_status.value %]
- selected
- [% END %]
- >[% display_value("attachments.gnome_attachment_status", gnome_attachment_status.value)
%]</option>
- [% END %]
- </select>
- </div>
+ [% Hook.process('editable_hidden_content') %]
</div>
<div id="attachment_view_window">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]