From 0eb69045b7a52fb4f8616be3ce16a98a83d35831 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 24 Nov 2014 10:32:18 +0100 Subject: Bug 1102003: The URL and status whiteboard fields display ARRAY(...) instead of real data r=dkl a=glob --- template/en/default/bug/edit.html.tmpl | 15 +++++---------- template/en/default/global/header.html.tmpl | 2 +- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index a7674faf8..516a24ed8 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -205,7 +205,7 @@ accesskey = "s" tag_name = 'span' %] - [% PROCESS input inputname => "short_desc" size => "80" + [% INCLUDE input inputname => "short_desc" size => "80" maxlength => 255 spellcheck => "true" no_td => 1 %] @@ -500,7 +500,7 @@ (edit) [% END %] - [% url_output = PROCESS input no_td=1 inputname => "bug_file_loc" size => "40" colspan => 2 %] + [% url_output = INCLUDE input no_td=1 inputname => "bug_file_loc" size => "40" colspan => 2 %] [% IF NOT bug.check_can_change_field("bug_file_loc", 0, 1) AND is_safe_url(bug.bug_file_loc) %] [% url_output FILTER none %] @@ -527,7 +527,7 @@ editable = 1 accesskey = "w" %] - [% PROCESS input inputname => "status_whiteboard" size => "40" colspan => 2 %] + [% INCLUDE input inputname => "status_whiteboard" size => "40" colspan => 2 %] [% END %] @@ -1214,7 +1214,7 @@ [% IF no_td != 1 %] [% END %] - [% val = value ? value : bug.$inputname %] + [% val = bug.$inputname %] [% IF bug.check_can_change_field(inputname, 0, 1) %] [% END %] - [% no_td = 0 %] - [% maxlength = 0 %] - [% colspan = 0 %] - [% size = 0 %] - [% value = undef %] - [% spellcheck = undef %] [% END %] + [% BLOCK commit_button %] [% IF user.id %]
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index dd1923f29..5c731c008 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -82,7 +82,7 @@ "js/jquery/ui/jquery-ui-structure-min.css", "js/jquery/ui/jquery-ui-theme-min.css", ] %] -[% undef = style_urls.import(jquery_css, jq_css_urls) %] +[% style_urls.import(jquery_css, jq_css_urls) FILTER null %] [%# Add jQuery cookie support %] [% jquery.push("cookie") %] -- cgit v1.2.3-24-g4f1b