diff options
Diffstat (limited to 'template/en/default/bug')
18 files changed, 193 insertions, 222 deletions
diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl index 67748e594..3e9f84027 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -24,11 +24,10 @@ # enter_bug.cgi) can be access via Bugzilla.cgi.param. It can be used to # pull out various custom fields and format an initial Description entry # from them. - #%] + #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] User-Agent: [%+ cgi.user_agent() %] -Build Identifier: [%+ cgi.param("buildid") %] [%+ cgi.param("comment") IF cgi.param("comment") %] @@ -42,12 +41,12 @@ Steps to Reproduce: [% END %] [% IF cgi.param("actual_results") %] -Actual Results: +Actual Results: [%+ cgi.param("actual_results") %] [% END %] [% IF cgi.param("expected_results") %] -Expected Results: +Expected Results: [%+ cgi.param("expected_results") %] [% END %] diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index a1c2c2e08..cfdb0ba4e 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -62,7 +62,7 @@ function PutDescription() { <h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3> <p> - <font color="red">Please don't skip this step - half of all + <font color="red">Please don't skip this step - half of all [% terms.bugs %] filed are reported already.</font> Check the two lists of frequently-reported [% terms.bugs %]: @@ -79,7 +79,7 @@ function PutDescription() { <p> <a href="duplicates.cgi?[% productstring %]&format=simple" target="somebugs">All-time Top 20</a> (loaded initially) | - <a href="duplicates.cgi?[% productstring %]&format=simple&sortby=delta&reverse=1&maxrows=100&changedsince=14" target="somebugs">Hot in the last two weeks</a> + <a href="duplicates.cgi?[% productstring %]&format=simple&sortby=delta&reverse=1&maxrows=100&changedsince=14" target="somebugs">Hot in the last two weeks</a> </p> <iframe name="somebugs" id="somebugs" @@ -100,8 +100,8 @@ function PutDescription() { <input type="hidden" name="order" value="relevance desc"> <input type="hidden" name="bug_status" value="__all__"> <input type="hidden" name="product" value="[% product.name FILTER html %]"> - [% IF product.name == "Firefox" OR - product.name == "Thunderbird" OR + [% IF product.name == "Firefox" OR + product.name == "Thunderbird" OR product.name == "SeaMonkey" OR product.name == "Camino" %] <input type="hidden" name="product" value="Core"> @@ -130,7 +130,7 @@ function PutDescription() { <h3 id="step2">Step 2 of 3 - give information</h3> <p> - If you've tried a few searches and your [% terms.bug %] really isn't in + If you've tried a few searches and your [% terms.bug %] really isn't in there, tell us all about it. </p> @@ -191,7 +191,7 @@ function PutDescription() { </td> </tr> </table> - + <p> The area where the problem occurs. To pick the right component, you could use the same one as @@ -228,33 +228,6 @@ function PutDescription() { </td> </tr> - [% IF product.name.match("Firefox|Camino|SeaMonkey") %] - [% matches = cgi.user_agent('Gecko/(\d+)') %] - [% buildid = cgi.user_agent() IF matches %] - [% END %] - - [%# Accept URL parameter build ID for non-browser products %] - [% IF cgi.param("buildid") %] - [% buildid = cgi.param("buildid") %] - [% END %] - - <tr bgcolor="[% tablecolour %]"> - <td align="right" valign="top"> - <b>Build Identifier</b> - </td> - <td valign="top"> - <input type="text" size="80" name="buildid" value="[% buildid FILTER html %]"> - <p> - This should identify the exact version of the product you were using. - If the above field is blank or you know it is incorrect, copy the - user agent text from the product's Help | Troubleshooting Information menu - (for browsers this will begin with "Mozilla/5.0..."). - If the product won't start, instead paste the complete URL you downloaded - it from. - </p> - </td> - </tr> - <tr> <td align="right" valign="top"> <b>URL</b> @@ -275,7 +248,7 @@ function PutDescription() { <b>Summary</b> </td> <td valign="top"> - <input type="text" size="80" name="short_desc" id="short_desc" + <input type="text" size="80" name="short_desc" id="short_desc" maxlength="255" spellcheck="true"> <p> A sentence which summarises the problem. @@ -317,7 +290,7 @@ function PutDescription() { <tt> <font color="#009900">Good example</font>: After a crash which happened when I was sorting in the Bookmark Manager,<br> all of my - top-level bookmark folders beginning with the letters Q to Z are + top-level bookmark folders beginning with the letters Q to Z are no longer present. </tt> </p> @@ -423,7 +396,7 @@ function PutDescription() { </p> </td> </tr> - + <tr> <td valign="top" align="right"> <b>Severity</b> @@ -452,7 +425,7 @@ function PutDescription() { </option> </select> <p> - Say how serious the problem is, or if your [% terms.bug %] is a + Say how serious the problem is, or if your [% terms.bug %] is a request for a new feature. </p> </td> @@ -474,12 +447,12 @@ function PutDescription() { <p> That's it! Thanks very much. You'll be notified by email about any - progress that is made on fixing your [% terms.bug %]. + progress that is made on fixing your [% terms.bug %]. -<p> +<p> Please be warned - that we get a lot of [% terms.bug %] reports filed - it may take quite a - while to get around to yours. You can help the process by making sure your + that we get a lot of [% terms.bug %] reports filed - it may take quite a + while to get around to yours. You can help the process by making sure your [%+ terms.bug %] is complete and easy to understand, and by quickly replying to any questions which may arrive by email. diff --git a/template/en/default/bug/create/user-message.html.tmpl b/template/en/default/bug/create/user-message.html.tmpl index 51e787870..4d13da96d 100644 --- a/template/en/default/bug/create/user-message.html.tmpl +++ b/template/en/default/bug/create/user-message.html.tmpl @@ -29,8 +29,8 @@ [% PROCESS global/variables.none.tmpl %] -Before reporting [% terms.abug %], please read the -<a href="[% terms.BugWritingGuidelinesURL %]"> +Before reporting [% terms.abug %], please read the +<a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines"> [% terms.bug %] writing guidelines</a>, please look at the list of <a href="duplicates.cgi">most frequently reported [% terms.bugs %]</a>, and please <a href="query.cgi">search</a> for the [% terms.bug %]. diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index 17f00803f..6e1478be0 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -26,7 +26,7 @@ [% filtered_desc = blocked_tree.$bugid.short_desc FILTER html %] [% PROCESS global/header.html.tmpl title = "Dependency tree for $terms.Bug $bugid" - header = "Dependency tree for + header = "Dependency tree for <a href=\"show_bug.cgi?id=$bugid\">$terms.Bug $bugid</a>" javascript_urls = ["js/expanding-tree.js"] style_urls = ["skins/standard/dependency-tree.css"] @@ -35,10 +35,10 @@ %] [% PROCESS depthControlToolbar %] - + [% INCLUDE tree_section ids=dependson_ids type=1 %] - -[% INCLUDE tree_section ids=blocked_ids type=2 %] + +[% INCLUDE tree_section ids=blocked_ids type=2 %] [% PROCESS depthControlToolbar %] @@ -58,18 +58,18 @@ [% global.seen = {} %] [%# Display the tree of bugs that this bug depends on. %] <h3> - <a href="show_bug.cgi?id=[% bugid %]">[% terms.Bug %] [%+ bugid %]</a> + <a href="show_bug.cgi?id=[% bugid %]">[% terms.Bug %] [%+ bugid %]</a> [% IF type == 1 %] [% tree_name = "dependson_tree" %] [% IF ids.size %] - depends on + depends on [% ELSE %] does not depend on any [% 'open ' IF hide_resolved %][% terms.bugs %]. [% END %] [% ELSIF type == 2 %] [% tree_name = "blocked_tree" %] - [% IF ids.size %] - blocks + [% IF ids.size %] + blocks [% ELSE %] does not block any [% 'open ' IF hide_resolved %][% terms.bugs %]. [% END %] @@ -78,7 +78,7 @@ [%+ (ids.size == 1) ? "one" : ids.size %] [%+ IF hide_resolved %]open[% END %] [%+ (ids.size == 1) ? terms.bug : terms.bugs %]: - [% END %] + [% END %] </h3> [% IF ids.size %] [%# 27 chars is the length of buglist.cgi?tweak=&bug_id=" %] @@ -117,8 +117,8 @@ [% bug = tree.$bugid %] <li> [%- INCLUDE bullet bugid=bugid tree=tree -%] - <span class="summ[% "_deep" IF tree.dependencies.$bugid.size %]" - id="[% bugid FILTER html %]" + <span class="summ[% "_deep" IF tree.dependencies.$bugid.size %]" + id="[% bugid FILTER html %]" [% IF global.seen.$bugid %] onMouseover="duplicatedover('[% bugid FILTER html %]')" onMouseout="duplicatedout('[% bugid FILTER html %]')" @@ -143,9 +143,9 @@ [% BLOCK bullet %] [% IF tree.dependencies.$bugid.size && ! global.seen.$bugid %] [% extra_class = " b_open" %] - [% extra_args = 'onclick="return doToggle(this, event)"' %] + [% extra_args = 'onclick="return doToggle(this, event)"' %] [% END %] - <a id="b[% bugid %]" + <a id="b[% bugid %]" class="b [%+ extra_class FILTER none %]" title="Click to expand or contract this portion of the tree. Hold down the Ctrl key while clicking to expand or contract all subtrees." [% extra_args FILTER none %]> </a> @@ -209,7 +209,7 @@ style="display: inline; margin: 0px;"> [%# set to one form %] <input type="submit" id="change_maxdepth" - value=" 1 " + value=" 1 " [% "disabled" IF realdepth < 2 || maxdepth == 1 %]> <input name="id" type="hidden" value="[% bugid %]"> <input name="maxdepth" type="hidden" value="1"> @@ -260,7 +260,7 @@ <input name="maxdepth" type="hidden" value="[% maxdepth + 1 %]"> [% END %] <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - <input type="submit" id="increase_depth" value=" > " + <input type="submit" id="increase_depth" value=" > " [% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %]> </form> </td> diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 445e5fe0d..6a1edc163 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -110,27 +110,27 @@ <table class="edit_form"> <tr> [%# 1st Column %] - <td id="bz_show_bug_column_1" class="bz_show_bug_column"> + <td id="bz_show_bug_column_1" class="bz_show_bug_column"> <table> [%# *** ID, product, component, status, resolution, Hardware, and OS *** %] [% PROCESS section_status %] - + [% PROCESS section_spacer %] - + [% PROCESS section_details1 %] - + [% PROCESS section_spacer %] - + [%# *** severity, priority, version and milestone *** %] - [% PROCESS section_details2 %] - + [% PROCESS section_details2 %] + [%# *** assigned to and qa contact *** %] [% PROCESS section_people %] - + [% PROCESS section_spacer %] - + [% PROCESS section_url_keyword_whiteboard %] - + [% PROCESS section_spacer %] [%# *** Dependencies and duplicates *** %] @@ -138,7 +138,7 @@ [% PROCESS section_dependson_blocks %] - [% IF user.id %] + [% IF user.id %] <tr> <td colspan="2"> <span style="float:left"> @@ -187,7 +187,6 @@ <table id="bz_big_form_parts" cellspacing="0" cellpadding="0"><tr> <td> - [%# BMO hook for adding MozReview table %] [% Hook.process("after_bug_data") %] [% IF user.is_timetracker %] @@ -230,7 +229,7 @@ [% ELSE %] [% PROCESS summon_comment_box %] [% END %] - + </form> @@ -242,35 +241,35 @@ [%# That's the main table, which contains all editable fields. %] <div class="bz_alias_short_desc_container edit_form"> <span class="last_comment_link"> - <a href="#c[% bug.comments.size - 1 %]" + <a href="#c[% bug.comments.size - 1 %]" accesskey="l"><b>L</b>ast Comment</a> - </span> + </span> <a href="show_bug.cgi?id=[% bug.bug_id %]"> [%-# %]<b>[% terms.Bug %] [% bug.bug_id FILTER html %]</b> - [%-# %]</a> -<span id="summary_alias_container" class="bz_default_hidden"> + [%-# %]</a> -<span id="summary_alias_container" class="bz_default_hidden"> [% IF Param("usebugaliases") %] [% IF bug.alias != "" %] - (<span id="alias_nonedit_display">[% bug.alias FILTER html %]</span>) + (<span id="alias_nonedit_display">[% bug.alias FILTER html %]</span>) [% END %] [% END %] <span role="heading" aria-level="1" id="short_desc_nonedit_display">[% bug.short_desc FILTER quoteUrls(bug) FILTER wbr %]</span> - [% IF bug.check_can_change_field('short_desc', 0, 1) || + [% IF bug.check_can_change_field('short_desc', 0, 1) || bug.check_can_change_field('alias', 0, 1) %] <small class="editme">(<a href="#" id="editme_action">edit</a>)</small> [% END %] </span> - - + + <div id="summary_alias_input"> - <table id="summary"> + <table id="summary"> [% IF Param("usebugaliases") %] <tr> - [% IF bug.check_can_change_field('alias', 0, 1) %] + [% IF bug.check_can_change_field('alias', 0, 1) %] <td> - <label - for="alias" - title="a name for the - [% terms.bug %] that can be used in place of its ID number, + <label + for="alias" + title="a name for the + [% terms.bug %] that can be used in place of its ID number, [%%] e.g. when adding it to a list of dependencies" >Alias</label>:</td><td> [% ELSIF bug.alias %] @@ -281,12 +280,12 @@ [% INCLUDE input inputname => "alias" size => "40" maxlength => "40" - no_td => 1 - %][% ")" IF NOT bug.check_can_change_field('alias', 0, 1) + no_td => 1 + %][% ")" IF NOT bug.check_can_change_field('alias', 0, 1) && bug.alias %] </td> </tr> - [% END %] + [% END %] [%# *** Summary *** %] <tr> <td> @@ -334,7 +333,7 @@ value = bug.classification editable = bug.check_can_change_field('product', 0, 1) %] </tr> - [%###############%] + [%###############%] [%# Component #%] [%###############%] <tr> @@ -352,9 +351,9 @@ [% PROCESS select selname => "version" %] </tr> - [%############%] + [%############%] [%# PLATFORM #%] - [%############%] + [%############%] <tr> <th class="field_label"> <label for="rep_platform" accesskey="h">Platform</label>: @@ -364,8 +363,8 @@ bug = bug, field = bug_fields.rep_platform, no_tds = 1, value = bug.rep_platform editable = bug.check_can_change_field('rep_platform', 0, 1) %] - [%+ INCLUDE bug/field.html.tmpl - bug = bug, field = bug_fields.op_sys, + [%+ INCLUDE bug/field.html.tmpl + bug = bug, field = bug_fields.op_sys, no_tds = 1, value = bug.op_sys editable = bug.check_can_change_field('op_sys', 0, 1) %] [%# BMO - hook for hw/os detection from reporter %] @@ -396,7 +395,7 @@ [% END %] [% END %] [% IF bug.user.canedit || bug.user.isreporter %] - (<a href="#add_comment" + (<a href="#add_comment" onclick="window.setTimeout(function() { document.getElementById('bug_status').focus(); }, 10)">edit</a>) [% END %] </span> @@ -413,7 +412,7 @@ [% INCLUDE input inputname => "status_whiteboard" size => "40" colspan => 2 %] </tr> [% END %] - + [% IF use_keywords %] <tr> <th class="field_label"> @@ -468,7 +467,7 @@ [% PROCESS select selname = "target_milestone" %] </tr> [% END %] - + [% END %] [%############################################################################%] @@ -488,7 +487,7 @@ [% INCLUDE global/user.html.tmpl who = bug.assigned_to %] (<a href="#" id="bz_assignee_edit_action">edit</a>) [% IF bug.assigned_to.id != user.id %] - (<a title="Reassign to yourself" + (<a title="Reassign to yourself" href="#" id="bz_assignee_take_action">take</a>) [% END %] </span> @@ -506,10 +505,10 @@ <label id="set_default_assignee_label" for="set_default_assignee">Reset Assignee to default</label> </div> <script> - hideEditableField('bz_assignee_edit_container', - 'bz_assignee_input', - 'bz_assignee_edit_action', - 'assigned_to', + hideEditableField('bz_assignee_edit_container', + 'bz_assignee_input', + 'bz_assignee_edit_action', + 'assigned_to', '[% bug.assigned_to.login FILTER js %]' ); hideEditableField('bz_assignee_edit_container', 'bz_assignee_input', @@ -517,7 +516,7 @@ 'assigned_to', '[% bug.assigned_to.login FILTER js %]', '[% user.login FILTER js %]' ); - initDefaultCheckbox('assignee'); + initDefaultCheckbox('assignee'); </script> [% ELSE %] [% INCLUDE global/user.html.tmpl who = bug.assigned_to %] @@ -537,7 +536,7 @@ [% INCLUDE global/user.html.tmpl who = bug.qa_contact %] (<a href="#" id="bz_qa_contact_edit_action">edit</a>) [% IF bug.qa_contact.id != user.id %] - (<a title="Change QA contact to yourself" + (<a title="Change QA contact to yourself" href="#" id="bz_qa_contact_take_action">take</a>) [% END %] </span> @@ -556,15 +555,15 @@ <label for="set_default_qa_contact" id="set_default_qa_contact_label">Reset QA Contact to default</label> </div> <script> - hideEditableField('bz_qa_contact_edit_container', - 'bz_qa_contact_input', - 'bz_qa_contact_edit_action', - 'qa_contact', + hideEditableField('bz_qa_contact_edit_container', + 'bz_qa_contact_input', + 'bz_qa_contact_edit_action', + 'qa_contact', '[% bug.qa_contact.login FILTER js %]'); - hideEditableField('bz_qa_contact_edit_container', - 'bz_qa_contact_input', - 'bz_qa_contact_take_action', - 'qa_contact', + hideEditableField('bz_qa_contact_edit_container', + 'bz_qa_contact_input', + 'bz_qa_contact_take_action', + 'qa_contact', '[% bug.qa_contact.login FILTER js %]', '[% user.login FILTER js %]'); initDefaultCheckbox('qa_contact'); @@ -610,7 +609,7 @@ %] <td> [% IF bug.check_can_change_field("bug_file_loc", 0, 1) %] - <span id="bz_url_edit_container" class="bz_default_hidden"> + <span id="bz_url_edit_container" class="bz_default_hidden"> <a href="[% bug.bug_file_loc FILTER html %]" target="_blank" rel="noreferrer" title="[% bug.bug_file_loc FILTER html %]" [% IF NOT is_safe_url(bug.bug_file_loc) %] @@ -639,10 +638,10 @@ </span> [% IF bug.check_can_change_field("bug_file_loc", 0, 1) %] <script> - hideEditableField('bz_url_edit_container', - 'bz_url_input_area', - 'bz_url_edit_action', - 'bug_file_loc', + hideEditableField('bz_url_edit_container', + 'bz_url_input_area', + 'bz_url_edit_action', + 'bug_file_loc', "[% bug.bug_file_loc FILTER js %]"); </script> [% END %] @@ -678,20 +677,20 @@ [% BLOCK section_dependson_blocks %] <tr> - [% INCLUDE dependencies + [% INCLUDE dependencies field = bug_fields.dependson deps = bug.depends_on_obj %] </tr> - + <tr> - [% INCLUDE dependencies + [% INCLUDE dependencies field = bug_fields.blocked deps = bug.blocks_obj %] - + <tr> <th> </th> - + <td colspan="2" align="left" id="show_dependency_tree_or_graph"> Show dependency <a href="showdependencytree.cgi?id=[% bug.bug_id %]&hide_resolved=1">tree</a> - + [% IF Param('webdotbase') %] / <a href="showdependencygraph.cgi?id=[% bug.bug_id %]">graph</a> [% END %] @@ -721,7 +720,7 @@ [% IF NOT emitted_description %] [% emitted_description = 1 %] <div id="bz_restrict_group_visibility_help"> - <b>Only users in all of the selected groups can view this + <b>Only users in all of the selected groups can view this [%+ terms.bug %]:</b> <p class="instructions"> Unchecking all boxes makes this a more public [% terms.bug %]. @@ -730,7 +729,7 @@ [% END %] [% IF group.ingroup %] - <input type="hidden" name="defined_groups" + <input type="hidden" name="defined_groups" value="[% group.name FILTER html %]"> [% END %] @@ -745,20 +744,20 @@ [% IF emitted_description %] [% IF NOT inallgroups %] - <p class="instructions">Only members of a group can change the + <p class="instructions">Only members of a group can change the visibility of [% terms.abug %] for that group.</p> [% END %] [% END %] [% IF inagroup %] <div id="bz_enable_role_visibility_help"> - <b>Users in the roles selected below can always view + <b>Users in the roles selected below can always view this [% terms.bug %]:</b> </div> <div id="bz_enable_role_visibility"> <div> - [% user_can_edit_accessible = - bug.check_can_change_field("reporter_accessible", 0, 1) + [% user_can_edit_accessible = + bug.check_can_change_field("reporter_accessible", 0, 1) %] [% IF user_can_edit_accessible %] <input type="hidden" name="defined_reporter_accessible" value="1"> @@ -770,8 +769,8 @@ <label for="reporter_accessible">Reporter</label> </div> <div> - [% user_can_edit_accessible = - bug.check_can_change_field("cclist_accessible", 0, 1) + [% user_can_edit_accessible = + bug.check_can_change_field("cclist_accessible", 0, 1) %] [% IF user_can_edit_accessible %] <input type="hidden" name="defined_cclist_accessible" value="1"> @@ -809,7 +808,7 @@ [% bug.creation_ts FILTER time("%Y-%m-%d %H:%M %Z") %] by [% INCLUDE global/user.html.tmpl who = bug.reporter %] </td> </tr> - + <tr> <th class="field_label"> Modified: @@ -818,7 +817,7 @@ [% bug.delta_ts FILTER time("%Y-%m-%d %H:%M %Z") %] (<a href="show_activity.cgi?id=[% bug.bug_id %]">[%# terms.Bug %]History</a>) </td> - + </tr> [% END %] @@ -844,10 +843,10 @@ || (!has_role && user.settings.state_addselfcc.value == 'cc_unless_role') %]> <label for="addselfcc">Add me to CC list</label> - <br> + <br> [% END %] [% END %] - [% bug.cc.size || 0 FILTER html %] + [% bug.cc.size || 0 FILTER html %] [% IF bug.cc.size == 1 %] user [% ELSE %] @@ -863,7 +862,7 @@ (<a href="#" id="cc_edit_area_showhide">[% IF user.id %]edit[% ELSE %]show[% END %]</a>) [% IF user.id && bug.cc.size %] <br> - <ul class="cc_list_display"> + <ul class="cc_list_display"> [% FOREACH c = bug.cc %] <li>[% c FILTER email FILTER html %]</li> [% END %] @@ -912,11 +911,11 @@ </div> [% IF user.id || bug.cc.size %] <script> - hideEditableField( 'cc_edit_area_showhide_container', - 'cc_edit_area', - 'cc_edit_area_showhide', - '', - ''); + hideEditableField( 'cc_edit_area_showhide_container', + 'cc_edit_area', + 'cc_edit_area_showhide', + '', + ''); </script> [% END %] </td> @@ -952,7 +951,7 @@ [% BLOCK section_see_also %] [% IF Param('use_see_also') || bug.see_also.size %] <tr> - [% INCLUDE bug/field.html.tmpl + [% INCLUDE bug/field.html.tmpl field = bug_fields.see_also value = bug.see_also editable = bug.check_can_change_field('see_also', 0, 1) @@ -1011,7 +1010,7 @@ YAHOO.util.Dom.removeClass(rows[i], 'bz_default_hidden'); } YAHOO.util.Event.preventDefault(e); - }); + }); </script> [% END %] </td> @@ -1070,31 +1069,31 @@ <td> <span id="[% field.name FILTER html %]_input_area"> [% IF bug.check_can_change_field(field.name, 0, 1) %] - <input name="[% field.name FILTER html %]" + <input name="[% field.name FILTER html %]" id="[% field.name FILTER html %]" class="text_input" value="[% bug.${field.name}.join(', ') FILTER html %]"> [% END %] </span> - + [% FOREACH dep_bug = deps %] [% dep_bug.id FILTER bug_link(dep_bug, use_alias => 1) FILTER none %][% " " %] [% END %] [% IF bug.check_can_change_field(field.name, 0, 1) %] - <span id="[% field.name FILTER html %]_edit_container" + <span id="[% field.name FILTER html %]_edit_container" class="edit_me bz_default_hidden"> (<a href="#" id="[% field.name FILTER html %]_edit_action">edit</a>) </span> <script> - hideEditableField('[% field.name FILTER js %]_edit_container', - '[% field.name FILTER js %]_input_area', - '[% field.name FILTER js %]_edit_action', - '[% field.name FILTER js %]', + hideEditableField('[% field.name FILTER js %]_edit_container', + '[% field.name FILTER js %]_input_area', + '[% field.name FILTER js %]_edit_action', + '[% field.name FILTER js %]', '[% bug.${field.name}.join(', ') FILTER js %]'); </script> [% END %] </td> - + [% END %] [%############################################################################%] @@ -1160,7 +1159,7 @@ [% INCLUDE bug/field.html.tmpl field = bug_fields.deadline, value = bug.deadline, no_tds = 1 editable = bug.check_can_change_field('deadline', 0, 1) %] - </td> + </td> </tr> <tr> <td colspan="7" class="bz_summarize_time"> @@ -1169,7 +1168,7 @@ blocking this [% terms.bug %])</a> </td> </tr> - </table> + </table> [% END %] [%############################################################################%] @@ -1179,7 +1178,7 @@ [% BLOCK comment_box %] <div id="add_comment" class="bz_section_additional_comments"> [% IF user.id %] - <label for="comment" accesskey="c"><b>Additional + <label for="comment" accesskey="c"><b>Additional <u>C</u>omments</b></label>: [% IF user.is_insider && bug.check_can_change_field('longdesc', 0, 1) %] @@ -1240,7 +1239,7 @@ before you can comment on or make changes to this [% terms.bug %]. </fieldset> </td> - </tr> + </tr> </table> [% END %] </div> @@ -1267,7 +1266,7 @@ [% BLOCK select %] <td> - [% IF bug.check_can_change_field(selname, 0, 1) + [% IF bug.check_can_change_field(selname, 0, 1) AND bug.choices.${selname}.size > 1 %] <input type="hidden" id="[% selname %]_dirty"> <select id="[% selname %]" name="[% selname %]"> @@ -1307,7 +1306,7 @@ [% val FILTER html %] [% END %] [% END %] - [% IF no_td != 1 %] + [% IF no_td != 1 %] </td> [% END %] [% END %] @@ -1315,7 +1314,7 @@ [% BLOCK commit_button %] [% IF user.id %] <div class="knob-buttons"> - <input type="submit" value="Save Changes" + <input type="submit" value="Save Changes" id="commit[% id FILTER css_class_quote %]"> </div> [% END %] diff --git a/template/en/default/bug/field-events.js.tmpl b/template/en/default/bug/field-events.js.tmpl index 3133c159b..64dbc3b7d 100644 --- a/template/en/default/bug/field-events.js.tmpl +++ b/template/en/default/bug/field-events.js.tmpl @@ -10,7 +10,7 @@ # # The Original Code is the Bugzilla Bug Tracking System. # - # The Initial Developer of the Original Code is the San Jose State + # The Initial Developer of the Original Code is the San Jose State # University Foundation. Portions created by the Initial Developer # are Copyright (C) 2008 the Initial Developer. All Rights Reserved. # diff --git a/template/en/default/bug/field-help.none.tmpl b/template/en/default/bug/field-help.none.tmpl index d52d598eb..782318c8f 100644 --- a/template/en/default/bug/field-help.none.tmpl +++ b/template/en/default/bug/field-help.none.tmpl @@ -63,11 +63,11 @@ cc => "Users who may not have a direct role to play on this $terms.bug, but who are interested in its progress.", -classification => +classification => "$terms.Bugs are categorised into Classifications, Products and" - _ " Components. classifications is the top-level categorisation.", + _ " Components. classifications is the top-level categorisation.", -component => +component => "Components are second-level categories; each belongs to a" _ " particular Product. Select a Product to narrow down this list.", @@ -123,10 +123,10 @@ qa_contact => remaining_time => "The number of hours of work left on this $terms.bug, calculated by - subtracting the $vars.field_descs.work_time from the + subtracting the $vars.field_descs.work_time from the ${vars.field_descs.estimated_time}.", -rep_platform => +rep_platform => "The hardware platform the $terms.bug was observed on.", reporter => @@ -144,7 +144,7 @@ see_also => <p>You should normally use this field to refer to $terms.bugs in <em>other</em> installations. For $terms.bugs in this - installation, it is better to use the $vars.field_descs.dependson and + installation, it is better to use the $vars.field_descs.dependson and $vars.field_descs.blocked fields.</p>", short_desc => @@ -217,7 +217,7 @@ email1 => [% END %] [% IF Param('useclassification') %] - [% vars.help_html.product = vars.help_html.product + [% vars.help_html.product = vars.help_html.product _ " Select a Classification to narrow down this list." %] [% END %] @@ -229,14 +229,14 @@ email1 => [% field_type_desc = BLOCK -%] [% field_types.$field_type FILTER html %] [%- END %] - [% vars.help_html.${help_field} = + [% vars.help_html.${help_field} = "A custom $field_type_desc field in this installation" _ " of ${terms.Bugzilla}." %] [% END %] [%# Add help for the search types, for query.cgi. %] [% type_desc = BLOCK %] - The type of [% vars.field_descs.${help_field} FILTER html %] search you + The type of [% vars.field_descs.${help_field} FILTER html %] search you would like. [% END %] [% SET type_name = help_field _ '_type' %] diff --git a/template/en/default/bug/field-label.html.tmpl b/template/en/default/bug/field-label.html.tmpl index 94180fabc..851935283 100644 --- a/template/en/default/bug/field-label.html.tmpl +++ b/template/en/default/bug/field-label.html.tmpl @@ -37,7 +37,7 @@ <label for="[% field.name FILTER html %]"[% IF accesskey %] accesskey="[% accesskey FILTER html %]"[% END %]> [% END %] - <a + <a [% IF help_html.${field.name}.defined %] title="[% help_html.${field.name} FILTER txt FILTER collapse FILTER html %]" class="field_help_link" diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 1d6048cdd..d15a6ea60 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -31,9 +31,9 @@ # allow_dont_change: display the --do_not_change-- option for select fields. # value_span: A colspan for the table cell containing # the field value. - # no_tds: boolean; if true, don't display the label <th> or the + # no_tds: boolean; if true, don't display the label <th> or the # wrapping <td> for the field. - # bug (optional): The current Bugzilla::Bug being displayed, or a hash + # bug (optional): The current Bugzilla::Bug being displayed, or a hash # with default field values being displayed on a page. #%] @@ -45,7 +45,7 @@ [% IF NOT no_tds %] [% PROCESS "bug/field-label.html.tmpl" %] <td class="field_value [% ' bz_hidden_field' IF hidden %]" - id="field_container_[% field.name FILTER html %]" + id="field_container_[% field.name FILTER html %]" [% " colspan=\"$value_span\"" FILTER none IF value_span %]> [% END %] [% Hook.process('start_field_column') %] @@ -85,7 +85,7 @@ </span> - [% IF value %] + [% IF value %] [% value FILTER bug_link(value, use_alias => 1) FILTER none %] [% END %] <span id="[% field.name FILTER html %]_edit_container" class="edit_me bz_default_hidden"> @@ -98,11 +98,11 @@ '[% field.name FILTER js %]', "[% value FILTER js %]"); </script> - [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT + [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT constants.FIELD_TYPE_MULTI_SELECT ] %] <input type="hidden" id="[% field.name FILTER html %]_dirty"> - <select id="[% field.name FILTER html %]" - name="[% field.name FILTER html %]" + <select id="[% field.name FILTER html %]" + name="[% field.name FILTER html %]" [% IF field.type == constants.FIELD_TYPE_MULTI_SELECT %] [% SET field_size = 5 %] [% IF field.legal_values.size < 5 %] @@ -125,7 +125,7 @@ [% END %] [% FOREACH legal_value = legal_values %] [% NEXT IF NOT legal_value.is_active AND NOT value.contains(legal_value.name).size %] - + [%# Purpose: hide field values from those who can't change them %] [% IF field.name.match("^cf_blocking_") OR field.name.match("^cf_status_") OR @@ -135,7 +135,7 @@ [% NEXT UNLESS bug.check_can_change_field(field.name, '---', legal_value.name) OR value.contains(legal_value.name).size %] [% END %] - + [% IF field.name == "resolution" && legal_value.name != bug.resolution %] [% r = legal_value.name %] @@ -149,7 +149,7 @@ [% END %] [% NEXT IF r == "EXPIRED" %] [% END %] - + <option value="[% legal_value.name FILTER html %]" id="v[% legal_value.id FILTER html %]_ [%- field.name FILTER html %]" @@ -257,10 +257,10 @@ [% CASE constants.FIELD_TYPE_TEXTAREA %] <div class="uneditable_textarea">[% value FILTER html %]</div> [% CASE constants.FIELD_TYPE_BUG_ID %] - [% IF value %] + [% IF value %] [% value FILTER bug_link(value, use_alias => 1) FILTER none %] [% END %] - [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT + [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT constants.FIELD_TYPE_MULTI_SELECT ] %] [% FOREACH val = value %] [% display_value(field.name, val) FILTER html %] diff --git a/template/en/default/bug/format_comment.txt.tmpl b/template/en/default/bug/format_comment.txt.tmpl index 156798026..9c1f1385f 100644 --- a/template/en/default/bug/format_comment.txt.tmpl +++ b/template/en/default/bug/format_comment.txt.tmpl @@ -17,7 +17,7 @@ # Contributor(s): Marc Schumann <wurblzap@gmail.com> #%] -[%# NOTE: Everywhere you use this template, you must call +[%# NOTE: Everywhere you use this template, you must call # "FILTER remove('^X')" on the result. This is unfortunately the only way # to preserve leading whitespace in comments. #%] diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index 16aa160f6..a49739928 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -31,7 +31,7 @@ editable = bug.choices.bug_status.size > 1 %] - [% IF bug.resolution + [% IF bug.resolution OR bug.check_can_change_field('resolution', bug.resolution, 1) %] <noscript><br>resolved as </noscript> @@ -65,7 +65,7 @@ </div> [% ELSIF bug.dup_id %] <noscript><br> duplicate</noscript> - <span id="duplicate_display">of + <span id="duplicate_display">of [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span> [% END %] </div> diff --git a/template/en/default/bug/link.html.tmpl b/template/en/default/bug/link.html.tmpl index dc09848da..da70d49b9 100644 --- a/template/en/default/bug/link.html.tmpl +++ b/template/en/default/bug/link.html.tmpl @@ -54,8 +54,8 @@ [% anchor = "#c$comment_num" %] [% END %] -<a class="bz_bug_link - bz_status_[% bug.bug_status FILTER css_class_quote %] +<a class="bz_bug_link + bz_status_[% bug.bug_status FILTER css_class_quote %] [% ' bz_closed' IF !bug.isopened %]" title="[% link_title FILTER collapse FILTER html %]" href="[% urlbase FILTER html IF full_url %]show_bug.cgi?id= diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl index 9e0b2c1ab..80a603944 100644 --- a/template/en/default/bug/new_bug.html.tmpl +++ b/template/en/default/bug/new_bug.html.tmpl @@ -7,7 +7,7 @@ [% PROCESS global/variables.none.tmpl %] [% title = BLOCK %]Enter [% terms.Bug %] [% END %] -[% PROCESS bug_modal/common_header.html.tmpl +[% PROCESS bug_modal/common_header.html.tmpl title = title jquery = [ "selectize" ] jquery_css = [ "js/jquery/plugins/selectize/selectize.bootstrap3.css" ] @@ -82,7 +82,7 @@ editable = 1 help = "describecomponents.cgi?product=$filtered_product" %] - + <span aria-owns="product-name product-latch"> <span role="button" aria-label="show product information" aria-expanded="false" tabindex="0" class="spin-latch" id="product-latch" data-latch="product" data-for="product">▸</span> diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl index 157cb44b4..95029a438 100644 --- a/template/en/default/bug/process/midair.html.tmpl +++ b/template/en/default/bug/process/midair.html.tmpl @@ -79,9 +79,9 @@ You have the following choices: <ul> <li> <form method="post" action="process_bug.cgi"> - <input type="hidden" name="delta_ts" + <input type="hidden" name="delta_ts" value="[% bug.delta_ts FILTER html %]"> - [% PROCESS "global/hidden-fields.html.tmpl" + [% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_login|Bugzilla_password|delta_ts$" %] <input type="submit" id="process" value="Submit my changes anyway"> This will cause all of the above changes to be overwritten diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl index 1d2e8689f..01494ec84 100644 --- a/template/en/default/bug/process/verify-new-product.html.tmpl +++ b/template/en/default/bug/process/verify-new-product.html.tmpl @@ -48,23 +48,23 @@ exclude = '^' _ exclude_items.join('|') _ '$' %] <input type="hidden" name="confirm_product_change" value="1"> - + [%# Verify the version, component, and target milestone fields. %] <h3>Verify Version, Component - [%- ", Target Milestone" + [%- ", Target Milestone" IF Param("usetargetmilestone") && bug.check_can_change_field('target_milestone', 0, 1) %]</h3> <p> -[% IF Param("usetargetmilestone") - && bug.check_can_change_field('target_milestone', 0, 1) +[% IF Param("usetargetmilestone") + && bug.check_can_change_field('target_milestone', 0, 1) %] - You are moving the [% terms.bug %](s) to the product + You are moving the [% terms.bug %](s) to the product <b>[% product.name FILTER html %]</b>, and the version, component, and/or target milestone fields are no longer correct. Please set the correct version, component, and target milestone now: [% ELSE %] - You are moving the [% terms.bug %](s) to the product + You are moving the [% terms.bug %](s) to the product <b>[% product.name FILTER html %]</b>, and the version and component fields are no longer correct. Please set the correct version and component now: @@ -80,7 +80,7 @@ [% ELSE %] [% SET default_version = defaults.version %] [% END %] - [% PROCESS "global/select-menu.html.tmpl" + [% PROCESS "global/select-menu.html.tmpl" name="version" options=versions default=default_version @@ -99,8 +99,8 @@ default=default_component size=10 %] </td> - [% IF Param("usetargetmilestone") - && bug.check_can_change_field('target_milestone', 0, 1) + [% IF Param("usetargetmilestone") + && bug.check_can_change_field('target_milestone', 0, 1) %] <td> <b>Target Milestone:</b><br> @@ -117,7 +117,7 @@ [% IF verify_bug_groups %] <h3>Verify [% terms.Bug %] Group</h3> - + [% IF old_groups.size %] <p>These groups are not legal for the '[% product.name FILTER html %]' product or you are not allowed to restrict [% terms.bugs %] to these groups.<br> diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl index a0a4ecbf1..add29adbc 100644 --- a/template/en/default/bug/show-multiple.html.tmpl +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -63,7 +63,7 @@ [% BLOCK bug_display %] <h1> - [% terms.Bug %] + [% terms.Bug %] <a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">[% bug.bug_id FILTER html %]</a> [% IF Param("usebugaliases") AND bug.alias AND NOT bug.error %] (<a href="show_bug.cgi?id=[% bug.alias FILTER uri %]"> @@ -245,7 +245,7 @@ </td> <td> [% PROCESS formattimeunit - time_unit=bug.estimated_time - + time_unit=bug.estimated_time - (bug.actual_time + bug.remaining_time) %] </td> </tr> @@ -299,9 +299,9 @@ </tr> [% END %] [% END %] - + [% Hook.process("last_row", "bug/show-multiple.html.tmpl") %] - + </table> @@ -357,7 +357,7 @@ [% FOREACH c = bug.cc %] [% c FILTER email FILTER html %][% ", " IF not loop.last() %] [% END %] - [% ELSIF name == "reporter" || name == "assigned_to" + [% ELSIF name == "reporter" || name == "assigned_to" || name == "qa_contact" %] <th class="rightcell">[% field_descs.${name} FILTER html %]:</th> <td>[% bug.${name}.identity FILTER email FILTER html %]</td> diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index c0f32d69e..cc10cf95e 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -27,9 +27,9 @@ <bugzilla version="[% constants.BUGZILLA_VERSION %]" urlbase="[% urlbase FILTER xml %]" - [%# Note that the maintainer's email is not filtered, + [%# Note that the maintainer's email is not filtered, # intentionally. Even logged-out users should be able - # to see that, since it will be in error messages anyway. + # to see that, since it will be in error messages anyway. %] maintainer="[% Param('maintainer') FILTER xml %]" [% IF user.id %] @@ -83,7 +83,7 @@ </long_desc> [% END %] [% END %] - + [% IF displayfields.attachment %] [% FOREACH a = bug.attachments %] [% NEXT IF a.isprivate && !user.is_insider %] @@ -112,7 +112,7 @@ </attachment> [% END %] [% END %] - + [% Hook.process("bug_end") %] </bug> @@ -151,7 +151,7 @@ [% BLOCK section_flags %] [% RETURN UNLESS displayfields.flag %] - + [% FOREACH flag = obj.flags %] <flag name="[% flag.type.name FILTER xml %]" id="[% flag.id FILTER xml %]" diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl index 9f2742694..1efc8223e 100644 --- a/template/en/default/bug/summarize-time.html.tmpl +++ b/template/en/default/bug/summarize-time.html.tmpl @@ -27,10 +27,10 @@ [% header = title %] [% END %] -[% PROCESS global/header.html.tmpl - title = title +[% PROCESS global/header.html.tmpl + title = title generate_api_token = 1 - header = header + header = header style_urls = ["skins/standard/summarize-time.css"] doc_section = "timetracking.html" javascript_urls = [ "js/util.js", "js/field.js" ] @@ -100,7 +100,7 @@ [% END %] [% additional = "$global.owner_count.size developers @ - $global.bug_count.size $terms.bugs" %] + $global.bug_count.size $terms.bugs" %] [% INCLUDE section_total colspan=3 additional=additional %] </table> [% END %] @@ -161,7 +161,7 @@ [% subtotal = subtotal + work_time %] [% login_name = owner.login_name %] [% global.owner_count.$login_name = 1 %] - [% IF detailed %] + [% IF detailed %] [% cid = cid + 1 %] <tr class="owner_header[% 2 FILTER none IF cid % 2 %]"> <td> </td> @@ -279,8 +279,8 @@ <table> <tr> <td align="right"> - <b><label accesskey="s" - for="start_date">Period <u>s</u>tarting</label></b>: + <b><label accesskey="s" + for="start_date">Period <u>s</u>tarting</label></b>: </td><td colspan="3"> <input type="text" id="start_date" name="start_date" size="11" autofocus align="right" value="[% start_date FILTER html %]" maxlength="10" @@ -291,7 +291,7 @@ </button> <div id="con_calendar_start_date"></div> - <b>and <label accesskey="e" for="end_date"><u>e</u>nding</label></b>: + <b>and <label accesskey="e" for="end_date"><u>e</u>nding</label></b>: <input type="text" name="end_date" size="11" id="end_date" align="right" value ="[% end_date FILTER html %]" maxlength="10" onchange="updateCalendarFromField(this)"> @@ -312,11 +312,11 @@ </td><td colspan="2"> <input type="radio" name="group_by" id="number" value="number" [%+ 'checked="checked"' IF group_by == "number" - %]><label + %]><label for="number" accesskey="n">[% terms.Bug %] <u>N</u>umber</label> <input type="radio" name="group_by" id="owner" value="owner" [%+ 'checked="checked"' IF group_by == "owner" - %]><label + %]><label for="owner" accesskey="d"><u>D</u>eveloper</label> </td><td colspan="2"> <label for="ctype"><b>Format</b></label>: <select name="ctype" id="ctype"> |