diff options
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/change-columns.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 20 | ||||
-rw-r--r-- | template/en/default/list/list.atom.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 34 | ||||
-rw-r--r-- | template/en/default/list/list.rdf.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/list/quips.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/list/table.html.tmpl | 52 |
7 files changed, 67 insertions, 67 deletions
diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl index d1aada24c..418bf09c8 100644 --- a/template/en/default/list/change-columns.html.tmpl +++ b/template/en/default/list/change-columns.html.tmpl @@ -61,9 +61,9 @@ </tr> <tr> <td> - <select name="available_columns" id="available_columns" + <select name="available_columns" id="available_columns" size="15" multiple="multiple" onchange="updateView();" - class="bz_default_hidden"> + class="bz_default_hidden"> </select> </td> <td> @@ -76,7 +76,7 @@ onclick="move_deselect()">←</button> </td> <td> - <select name="selected_columns" id="selected_columns" + <select name="selected_columns" id="selected_columns" size="15" multiple="multiple" onchange="updateView();"> [% FOREACH column = collist %] <option value="[% column FILTER html %]" selected="selected"> @@ -126,9 +126,9 @@ value="[% saved_search.id FILTER html%]"> <input type="hidden" name="token" value="[% issue_hash_token([saved_search.id, saved_search.name]) FILTER html %]"> - <input type="checkbox" id="save_columns_for_search" checked="checked" + <input type="checkbox" id="save_columns_for_search" checked="checked" name="save_columns_for_search" value="1"> - <label for="save_columns_for_search">Save this column list only + <label for="save_columns_for_search">Save this column list only for search '[% saved_search.name FILTER html %]'</label> </p> [% ELSE %] @@ -140,7 +140,7 @@ <input type="submit" id="change" value="Change Columns"> </p> - <input type="submit" id="resetit" name="resetit" + <input type="submit" id="resetit" name="resetit" value="Reset to [% terms.Bugzilla %] default"> </form> diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index ead3ff54c..ae1dade52 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -136,7 +136,7 @@ </td> [% END %] </tr> - + <tr> <th><label for="bug_status">Status:</label></th> <td colspan="3">[% PROCESS status_section %]</td> @@ -150,7 +150,7 @@ value="[% dontchange FILTER html %]" size="6"> </td> - [% PROCESS bug/field.html.tmpl + [% PROCESS bug/field.html.tmpl field = bug_fields.deadline, value = dontchange editable = 1, allow_dont_change = 1 %] </tr> @@ -274,7 +274,7 @@ <b>Status Whiteboard:</b> </td> <td colspan="7"> - <input name="status_whiteboard" + <input name="status_whiteboard" value="[% dontchange FILTER html %]" size="60"> </td> </tr> @@ -348,14 +348,14 @@ [% FOREACH group = groups %] <tr> <td align="center"> - <input type="checkbox" name="defined_groups" + <input type="checkbox" name="defined_groups" id="defined_group_[% group.id %]" value="[% group.name FILTER html %]" onchange="turn_off(this, 'group_[% group.id %]')"> </td> [% IF group.is_active %] <td align="center"> - <input type="checkbox" name="groups" + <input type="checkbox" name="groups" id="group_[% group.id FILTER html %]" value="[% group.name FILTER html %]" onchange="turn_off(this, 'defined_group_[% group.id %]')"> @@ -410,10 +410,10 @@ [% all_open_bugs = !current_bug_statuses.containsany(closedstates) %] [% all_closed_bugs = !current_bug_statuses.containsany(openstates) %] [% closed_status_array = [] %] - - <select name="bug_status" id="bug_status"> + + <select name="bug_status" id="bug_status"> <option value="[% dontchange FILTER html %]" selected="selected">[% dontchange FILTER html %]</option> - + [% FOREACH bug_status = new_bug_statuses %] <option value="[% bug_status.name FILTER html %]"> [% display_value("bug_status", bug_status.name) FILTER html %] @@ -423,14 +423,14 @@ [% closed_status_array.push( filtered_status ) %] [% END %] [% END %] - + [%# If all the bugs being changed are closed, allow the user to change their resolution. %] [% IF all_closed_bugs %] [% filtered_status = dontchange FILTER js %] [% closed_status_array.push( filtered_status ) %] [% END %] </select> - + <span id="resolution_settings"> <select id="resolution" name="resolution"> <option value="[% dontchange FILTER html %]" selected >[% dontchange FILTER html %]</option> diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index ed0c660af..5568b7bff 100644 --- a/template/en/default/list/list.atom.tmpl +++ b/template/en/default/list/list.atom.tmpl @@ -20,7 +20,7 @@ # Jason Remillard <jremillardshop@letterboxes.org> # Phil Ringnalda <bugzilla@philringnalda.com> # - # This is a template for generating an Atom representation of a buglist. + # This is a template for generating an Atom representation of a buglist. #%] [% PROCESS "global/field-descs.none.tmpl" %] diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 09a6c3601..fe4354a61 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -30,11 +30,11 @@ [% PROCESS "global/field-descs.none.tmpl" %] -[% title = "$terms.Bug List" %] -[% IF searchname || defaultsavename %] - [% title = title _ ": " _ (searchname OR defaultsavename) FILTER html %] -[% ELSIF quicksearch %] - [% title = title _ ": " _ quicksearch FILTER html %] +[% DEFAULT title = "$terms.Bug List" %] +[% IF searchname || defaultsavename || quicksearch %] + [% title = title _ ": " _ (searchname || defaultsavename || quicksearch) FILTER html %] +[% ELSE %] + [% title = title FILTER html %] [% END %] [% qorder = order FILTER uri IF order %] @@ -49,7 +49,7 @@ title = title generate_api_token = dotweak style = style - atomlink = "buglist.cgi?$urlquerypart&title=$url_filtered_title&ctype=atom" + atomlink = "buglist.cgi?$urlquerypart&title=$url_filtered_title&ctype=atom" javascript_urls = [ "js/util.js", "js/field.js" ] style_urls = [ "skins/standard/buglist.css" ] doc_section = "query.html#list" @@ -90,8 +90,8 @@ [% END %] [% SET shown_types = [ - 'notequals', 'regexp', 'notregexp', 'lessthan', 'lessthaneq', - 'greaterthan', 'greaterthaneq', 'changedbefore', 'changedafter', + 'notequals', 'regexp', 'notregexp', 'lessthan', 'lessthaneq', + 'greaterthan', 'greaterthaneq', 'changedbefore', 'changedafter', 'changedfrom', 'changedto', 'changedby', 'notsubstring', 'nowords', 'nowordssubstr', 'notmatches', 'isempty', 'isnotempty' ] %] @@ -144,7 +144,7 @@ [% PROCESS num_results %] [% IF bugs.size == 0 %] - <p>We couldn't find any [% terms.bugs %] matching your search terms. + <p>We couldn't find any [% terms.bugs %] matching your search terms. You could try searching with fewer or different terms.</p> <ul class="zero_result_links"> <li>[% PROCESS enter_bug_link %]</li> @@ -208,7 +208,7 @@ [% END %] [% END %] </td> - + <td> </td> [% END %] @@ -242,7 +242,7 @@ <td valign="middle" class="bz_query_edit"> <a href="[% PROCESS edit_search_url %]">Edit Search</a> </td> - + [% IF searchtype == "saved" %] <td valign="middle" nowrap="nowrap" class="bz_query_forget"> | @@ -253,20 +253,20 @@ </td> [% ELSE %] <td> </td> - + <td valign="middle" class="bz_query_remember"> <form method="get" action="buglist.cgi"> - <input type="submit" id="remember" value="Remember search"> as - <input type="hidden" name="newquery" + <input type="submit" id="remember" value="Remember search"> as + <input type="hidden" name="newquery" value="[% urlquerypart FILTER html %][% "&order=$qorder" FILTER html IF order %]"> <input type="hidden" name="cmdtype" value="doit"> <input type="hidden" name="remtype" value="asnamed"> <input type="hidden" name="token" value="[% issue_hash_token(['savedsearch']) FILTER html %]"> <input type="text" id="save_newqueryname" name="newqueryname" size="20" - title="New query name" value="[% defaultsavename FILTER html %]"> - </form> + title="New query name" value="[% defaultsavename FILTER html %]"> + </form> </td> - [% END %] + [% END %] </tr> </table> diff --git a/template/en/default/list/list.rdf.tmpl b/template/en/default/list/list.rdf.tmpl index d7879a694..195e0883d 100644 --- a/template/en/default/list/list.rdf.tmpl +++ b/template/en/default/list/list.rdf.tmpl @@ -32,17 +32,17 @@ <Seq> [% FOREACH bug = bugs %] <li> - + <bz:bug rdf:about="[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id %]"> - + <bz:id nc:parseType="Integer">[% bug.bug_id %]</bz:id> - + [% FOREACH column = displaycolumns %] <bz:[% column %]>[% bug.$column FILTER html %]</bz:[% column %]> [% END %] - + </bz:bug> - + </li> [% END %] diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl index 8714fec7d..2f9cac9b8 100644 --- a/template/en/default/list/quips.html.tmpl +++ b/template/en/default/list/quips.html.tmpl @@ -58,7 +58,7 @@ <p> - [% terms.Bugzilla %] will pick a random quip for the headline on each + [% terms.Bugzilla %] will pick a random quip for the headline on each [% terms.bug %] list. </p> @@ -100,7 +100,7 @@ <h2>Edit existing quips:</h2> <p> <strong>Note:</strong> Only approved quips will be shown. - If the parameter 'quip_list_entry_control' is set to <q>open</q>, + If the parameter 'quip_list_entry_control' is set to <q>open</q>, entered quips are automatically approved. </p> <form name="editform" method="post" action="quips.cgi"> diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 486f3a00a..66ce442b9 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -23,7 +23,7 @@ [%# Initialization #%] [%############################################################################%] -[%# Don't display the table or do any processing if there are no bugs +[%# Don't display the table or do any processing if there are no bugs # to display %] [% RETURN IF !bugs.size %] @@ -43,34 +43,34 @@ [% field_descs.qa_contact_realname = field_descs.qa_contact %] [%# Setting maxlength => 0 means no limit. We set it for performance reasons. %] -[% abbrev = +[% abbrev = { - "bug_severity" => { maxlength => 3 , title => "Sev" } , - "priority" => { maxlength => 7 , title => "Pri" } , - "rep_platform" => { maxlength => 3 , title => "Plt" } , - "bug_status" => { maxlength => 4 } , - "assigned_to" => { maxlength => 30 , ellipsis => "..." } , - "assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } , - "reporter" => { maxlength => 30 , ellipsis => "..." } , - "reporter_realname" => { maxlength => 20 , ellipsis => "..." } , - "qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } , - "qa_contact_realname" => { maxlength => 20 , ellipsis => "..." , title => "QAContact" } , - "resolution" => { maxlength => 4 } , + "bug_severity" => { maxlength => 3 , title => "Sev" } , + "priority" => { maxlength => 7 , title => "Pri" } , + "rep_platform" => { maxlength => 3 , title => "Plt" } , + "bug_status" => { maxlength => 4 } , + "assigned_to" => { maxlength => 30 , ellipsis => "..." } , + "assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } , + "reporter" => { maxlength => 30 , ellipsis => "..." } , + "reporter_realname" => { maxlength => 20 , ellipsis => "..." } , + "qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } , + "qa_contact_realname" => { maxlength => 20 , ellipsis => "..." , title => "QAContact" } , + "resolution" => { maxlength => 4 } , "short_desc" => { maxlength => 0, wrap => 1 } , "short_short_desc" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } , - "status_whiteboard" => { maxlength => 0, title => "Whiteboard" , wrap => 1 } , + "status_whiteboard" => { maxlength => 0, title => "Whiteboard" , wrap => 1 } , "keywords" => { maxlength => 0, wrap => 1 } , "dependson" => { maxlength => 0, wrap => 1 } , "blocked" => { maxlength => 0, wrap => 1 } , "flagtypes.name" => { maxlength => 0, wrap => 1 } , - "component" => { maxlength => 8 , title => "Comp" } , - "product" => { maxlength => 8 } , - "version" => { maxlength => 5 , title => "Vers" } , - "op_sys" => { maxlength => 4 } , - "bug_file_loc" => { maxlength => 30 } , - "target_milestone" => { maxlength => 0, title => "TargetM" } , + "component" => { maxlength => 8 , title => "Comp" } , + "product" => { maxlength => 8 } , + "version" => { maxlength => 5 , title => "Vers" } , + "op_sys" => { maxlength => 4 } , + "bug_file_loc" => { maxlength => 30 } , + "target_milestone" => { maxlength => 0, title => "TargetM" } , "longdescs.count" => { maxlength => 0, title => "# Comments" }, - "percentage_complete" => { maxlength => 0, format_value => "%d %%" } , + "percentage_complete" => { maxlength => 0, format_value => "%d %%" } , } %] @@ -84,7 +84,7 @@ [% tableheader = BLOCK %] <table class="bz_buglist sortable" cellspacing="0" cellpadding="4" width="100%"> - <thead> + <thead> <tr class="bz_buglist_header bz_first_buglist_header"> [% IF dotweak %] <th class="sorttable_nosort"> </th> @@ -221,16 +221,16 @@ [% IF col_abbrev.maxlength %] <span title="[%- display_value(column, bug.$column) FILTER html %]"> [% END %] - [% IF col_abbrev.format_value %] - [%- bug.$column FILTER format(col_abbrev.format_value) FILTER html -%] + [% IF col_abbrev.format_value %] + [%- bug.$column FILTER format(col_abbrev.format_value) FILTER html -%] [% ELSIF column == 'actual_time' || column == 'remaining_time' || column == 'estimated_time' %] - [% PROCESS formattimeunit time_unit=bug.$column %] + [% PROCESS formattimeunit time_unit=bug.$column %] [%# Display the login name of the user if their real name is empty. %] [% ELSIF column.match('_realname$') && bug.$column == '' %] [% SET login_column = column.remove('_realname$') %] - [% bug.${login_column}.truncate(col_abbrev.maxlength, + [% bug.${login_column}.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html %] [% ELSIF column == 'short_desc' || column == "short_short_desc" %] <a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]"> |