summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl20
-rw-r--r--extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl202
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl1
-rw-r--r--extensions/BMO/template/en/default/hook/index-intro.html.tmpl10
5 files changed, 214 insertions, 21 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl b/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl
index dda75a9c6..c70b35825 100644
--- a/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl
@@ -20,13 +20,13 @@
[% USE Bugzilla %]
[% IF Bugzilla.request_cache.bmo_fields_page %]
- [%
+ [%
vars.help_html.priority =
"This field describes the importance and order in which $terms.abug
should be fixed compared to other ${terms.bugs}. This field is utilized
by the programmers/engineers to prioritize their work to be done where
P1 is considered the highest and P5 is the lowest."
-
+
vars.help_html.bug_severity =
"This field describes the impact of ${terms.abug}.
<table>
@@ -60,9 +60,9 @@
<th>enhancement</th>
<td>Request for enhancement</td>
</table>"
-
- vars.help_html.rep_platform =
- "This is the hardware platform against which the $terms.bug was reported.
+
+ vars.help_html.rep_platform =
+ "This is the hardware platform against which the $terms.bug was reported.
Legal platforms include:
<ul>
<li>All (happens on all platforms; cross-platform ${terms.bug})</li>
@@ -71,10 +71,10 @@
</ul>
<b>Note:</b> When searching, selecting the option
<em>All</em> does not
- select $terms.bugs assigned against any platform. It merely selects
- $terms.bugs that are marked as occurring on all platforms, i.e. are
+ select $terms.bugs assigned against any platform. It merely selects
+ $terms.bugs that are marked as occurring on all platforms, i.e. are
designated <em>All</em>.",
-
+
vars.help_html.op_sys =
"This is the operating system against which the $terms.bug was
reported. Legal operating systems include:
@@ -86,10 +86,10 @@
</ul>
Sometimes the operating system implies the platform, but not
always. For example, Linux can run on x86_64, ARM, and others.",
-
+
vars.help_html.assigned_to =
"This is the person in charge of resolving the ${terms.bug}. Every time
- this field changes, the status changes to
+ this field changes, the status changes to
<b>NEW</b> to make it
easy to see which new $terms.bugs have appeared on a person's list.</p>",
%]
diff --git a/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl
index c49d06b73..9458fd375 100644
--- a/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl
@@ -18,7 +18,7 @@
[% title = title _ "($filtered_alias) " %]
[% END %]
[% title = title _ filtered_desc %]
-[% javascript = javascript _
+[% javascript = javascript _
"document.title = document.title.replace(/^" _ terms.Bug _ " /, '');"
%]
[% js_bug_id = bug.bug_id FILTER js %]
diff --git a/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl b/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl
new file mode 100644
index 000000000..7703bed74
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/flag/type_comment-form.html.tmpl
@@ -0,0 +1,202 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+<template class="approval-request" data-flags="approval‑mozilla‑beta approval‑mozilla‑release">
+ <fieldset>
+ <legend>Beta/Release Uplift Approval Request</legend>
+ <table>
+ <tr>
+ <th id="_ar_beta_i1_label">Feature/[% terms.Bug %] causing the regression</th>
+ <td><input type="text" placeholder="[% terms.Bug %] ID" aria-labelledby="_ar_beta_i1_label" data-type="b[% %]ug"></td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i2_label">User impact if declined</th>
+ <td><textarea aria-labelledby="_ar_beta_i2_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i3_label">Is this code covered by automated tests?</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_beta_i3_label">
+ <div class="item"><input id="_ar_beta_i3_r1" type="radio" name="_ar_beta_i3_radio" value="Yes"><label for="_ar_beta_i3_r1">Yes</label></div>
+ <div class="item"><input id="_ar_beta_i3_r2" type="radio" name="_ar_beta_i3_radio" value="No"><label for="_ar_beta_i3_r2">No</label></div>
+ <div class="item"><input id="_ar_beta_i3_r3" type="radio" name="_ar_beta_i3_radio" value="Unknown"><label for="_ar_beta_i3_r3">Unknown</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i4_label">Has the fix been verified in Nightly?</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_beta_i4_label">
+ <div class="item"><input id="_ar_beta_i4_r1" type="radio" name="_ar_beta_i4_radio" value="Yes"><label for="_ar_beta_i4_r1">Yes</label></div>
+ <div class="item"><input id="_ar_beta_i4_r2" type="radio" name="_ar_beta_i4_radio" value="No"><label for="_ar_beta_i4_r2">No</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i5_label">Needs manual test from QE?</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_beta_i5_label">
+ <div class="item"><input id="_ar_beta_i5_r1" type="radio" name="_ar_beta_i5_radio" value="Yes"><label for="_ar_beta_i5_r1">Yes</label></div>
+ <div class="item"><input id="_ar_beta_i5_r2" type="radio" name="_ar_beta_i5_radio" value="No"><label for="_ar_beta_i5_r2">No</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i6_label">If yes, steps to reproduce</th>
+ <td><textarea aria-labelledby="_ar_beta_i6_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i7_label">List of other uplifts needed</th>
+ <td><input type="text" placeholder="[% terms.Bug %] IDs" aria-labelledby="_ar_beta_i7_label" data-type="b[% %]ugs"></td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i8_label">Risk to taking this patch</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_beta_i8_label">
+ <div class="item"><input id="_ar_beta_i8_r1" type="radio" name="_ar_beta_i8_radio" value="Low"><label for="_ar_beta_i8_r1">Low</label></div>
+ <div class="item"><input id="_ar_beta_i8_r2" type="radio" name="_ar_beta_i8_radio" value="Medium"><label for="_ar_beta_i8_r2">Medium</label></div>
+ <div class="item"><input id="_ar_beta_i8_r3" type="radio" name="_ar_beta_i8_radio" value="High"><label for="_ar_beta_i8_r3">High</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i9_label">Why is the change risky/not risky?<br>(and alternatives if risky)</th>
+ <td><textarea aria-labelledby="_ar_beta_i9_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_beta_i10_label">String changes made/needed</th>
+ <td><input type="text" class="long" aria-labelledby="_ar_beta_i10_label"></td>
+ </tr>
+ </table>
+ </fieldset>
+</template>
+
+<template class="approval-request" data-flags="approval‑mozilla‑esr*">
+ <fieldset>
+ <legend>ESR Uplift Approval Request</legend>
+ <table>
+ <tr>
+ <th id="_ar_esr_i1_label">If this is not a sec:{high,crit} [% terms.bug %], please state case for ESR consideration</th>
+ <td><textarea aria-labelledby="_ar_esr_i1_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_esr_i2_label">User impact if declined</th>
+ <td><textarea aria-labelledby="_ar_esr_i2_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_esr_i3_label">Fix Landed on Version</th>
+ <td><input type="text" aria-labelledby="_ar_esr_i3_label"></td>
+ </tr>
+ <tr>
+ <th id="_ar_esr_i4_label">Risk to taking this patch</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_esr_i4_label">
+ <div class="item"><input id="_ar_esr_i4_r1" type="radio" name="_ar_esr_i4_radio" value="Low"><label for="_ar_esr_i4_r1">Low</label></div>
+ <div class="item"><input id="_ar_esr_i4_r2" type="radio" name="_ar_esr_i4_radio" value="Medium"><label for="_ar_esr_i4_r2">Medium</label></div>
+ <div class="item"><input id="_ar_esr_i4_r3" type="radio" name="_ar_esr_i4_radio" value="High"><label for="_ar_esr_i4_r3">High</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_esr_i5_label">Why is the change risky/not risky?<br>(and alternatives if risky)</th>
+ <td><textarea aria-labelledby="_ar_esr_i5_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_esr_i6_label">String or UUID changes made by this patch</th>
+ <td><input type="text" class="long" aria-labelledby="_ar_esr_i6_label"></td>
+ </tr>
+ </table>
+ <p>See <a href="https://wiki.mozilla.org/Release_Management/ESR_Landing_Process" target="_blank">ESR Landing Process</a> for more info.</p>
+ </fieldset>
+</template>
+
+<template class="approval-request" data-flags="approval‑mozilla‑geckoview*">
+ <fieldset>
+ <legend>GeckoView Uplift Approval Request</legend>
+ <table>
+ <tr>
+ <th id="_ar_gkv_i1_label">If this is not a sec:{high,crit} [% terms.bug %], please state case for consideration</th>
+ <td><textarea aria-labelledby="_ar_gkv_i1_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_gkv_i2_label">User impact if declined</th>
+ <td><textarea aria-labelledby="_ar_gkv_i2_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_gkv_i3_label">Fix Landed on Version</th>
+ <td><input type="text" aria-labelledby="_ar_gkv_i3_label"></td>
+ </tr>
+ <tr>
+ <th id="_ar_gkv_i4_label">Risk to taking this patch</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_gkv_i4_label">
+ <div class="item"><input id="_ar_gkv_i4_r1" type="radio" name="_ar_gkv_i4_radio" value="Low"><label for="_ar_gkv_i4_r1">Low</label></div>
+ <div class="item"><input id="_ar_gkv_i4_r2" type="radio" name="_ar_gkv_i4_radio" value="Medium"><label for="_ar_gkv_i4_r2">Medium</label></div>
+ <div class="item"><input id="_ar_gkv_i4_r3" type="radio" name="_ar_gkv_i4_radio" value="High"><label for="_ar_gkv_i4_r3">High</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_gkv_i5_label">Why is the change risky/not risky?<br>(and alternatives if risky)</th>
+ <td><textarea aria-labelledby="_ar_gkv_i5_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_gkv_i6_label">String or UUID changes made by this patch</th>
+ <td><input type="text" class="long" aria-labelledby="_ar_gkv_i6_label"></td>
+ </tr>
+ </table>
+ <p>See <a href="https://wiki.mozilla.org/Release_Management/Uplift_rules" target="_blank">Patch uplifting rules</a> for more info.</p>
+ </fieldset>
+</template>
+
+<template class="approval-request" data-flags="sec‑approval">
+ <fieldset>
+ <legend>Security Approval Request</legend>
+ <table>
+ <tr>
+ <th id="_ar_sec_i1_label">How easily could an exploit be constructed based on the patch?</th>
+ <td><textarea aria-labelledby="_ar_sec_i1_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i2_label">Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_sec_i2_label">
+ <div class="item"><input id="_ar_sec_i2_r1" type="radio" name="_ar_sec_i2_radio" value="Yes"><label for="_ar_sec_i2_r1">Yes</label></div>
+ <div class="item"><input id="_ar_sec_i2_r2" type="radio" name="_ar_sec_i2_radio" value="No"><label for="_ar_sec_i2_r2">No</label></div>
+ <div class="item"><input id="_ar_sec_i2_r3" type="radio" name="_ar_sec_i2_radio" value="Unknown"><label for="_ar_sec_i2_r3">Unknown</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i3_label">Which older supported branches are affected by this flaw?</th>
+ <td><input type="text" aria-labelledby="_ar_sec_i3_label"></td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i4_label">If not all supported branches, which [% terms.bug %] introduced the flaw?</th>
+ <td><input type="text" placeholder="[% terms.Bug %] ID" aria-labelledby="_ar_sec_i4_label" data-type="b[% %]ug"></td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i5_label">Do you have backports for the affected branches?</th>
+ <td>
+ <div role="radiogroup" class="buttons toggle" aria-labelledby="_ar_sec_i5_label">
+ <div class="item"><input id="_ar_sec_i5_r1" type="radio" name="_ar_sec_i5_radio" value="Yes"><label for="_ar_sec_i5_r1">Yes</label></div>
+ <div class="item"><input id="_ar_sec_i5_r2" type="radio" name="_ar_sec_i5_radio" value="No"><label for="_ar_sec_i5_r2">No</label></div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i6_label">If not, how different, hard to create, and risky will they be?</th>
+ <td><textarea aria-labelledby="_ar_sec_i6_label"></textarea></td>
+ </tr>
+ <tr>
+ <th id="_ar_sec_i7_label">How likely is this patch to cause regressions; how much testing does it need?</th>
+ <td><textarea aria-labelledby="_ar_sec_i7_label"></textarea></td>
+ </tr>
+ </table>
+ </fieldset>
+</template>
diff --git a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
index 0566f48b3..6300b0d15 100644
--- a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
@@ -22,6 +22,7 @@
<link rel="shortcut icon" href="extensions/BMO/web/images/favicon.ico">
[% IF bug %]
<link rel="canonical" href="[% Bugzilla.localconfig.canonical_urlbase FILTER none %]show_bug.cgi?id=[% bug.bug_id FILTER uri %]">
+<link rel="shorturl" href="[% Bugzilla.localconfig.canonical_urlbase FILTER none %][% bug.bug_id FILTER uri %]">
[% END %]
[%# *** Bug List Navigation *** %]
diff --git a/extensions/BMO/template/en/default/hook/index-intro.html.tmpl b/extensions/BMO/template/en/default/hook/index-intro.html.tmpl
deleted file mode 100644
index ddee1db2f..000000000
--- a/extensions/BMO/template/en/default/hook/index-intro.html.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-[%# This Source Code Form is subject to the terms of the Mozilla Public
- # License, v. 2.0. If a copy of the MPL was not distributed with this
- # file, You can obtain one at http://mozilla.org/MPL/2.0/.
- #
- # This Source Code Form is "Incompatible With Secondary Licenses", as
- # defined by the Mozilla Public License, v. 2.0.
- #%]
-
-<a id="docs" class="bz_common_actions"
- href="https://bmo.readthedocs.org/"><span>Documentation</span></a>