summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/pages/triage_request.html.tmpl
blob: 954ad5a06206c65a2b4c5f2f2884197a7a1568ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[%# 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.
  #%]

[% inline_style = BLOCK %]
#triage-request {
  padding: 0 6px;
}
#blurb {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 10px 20px 20px 20px;
  max-width: 800px;
}
[% END %]

[% inline_javascript = BLOCK %]
[% END %]

[% PROCESS global/header.html.tmpl
   title = terms.Bug _ " Triage Request"
   style = inline_style
   javascript = inline_javascript
%]

<div id="triage-request">

  <h1>[% terms.Bug %] Triage Request</h1>

  <div id="blurb">

  [% IF user.in_group('canconfirm') %]

    [% UNLESS updated %]
      <h3>Awesome - You can already triage [% terms.bugs %]</h3>
    [% END %]

    <p>
      Thank you.
    </p>
    <p>
      With your help sorting and triaging [% terms.bugs %] Mozilla will be able
      to ship a better product to hundreds of millions of users that much
      faster.
    </p>

  [% ELSE %]

    <p>
      Triage is the first step in a [% terms.bug %]'s road to resolution; having
      'canconfirm' rights gives you the access you'll need to help move that [%
      terms.bug %] it into the right component, narrow it down and confirm it as
      "new". This helps Mozilla's engineers learn about it sooner and fix it
      faster.
    </p>

    <p>
      Would you like to add "canconfirm" permissions to your account?
    </p>

    <form method="post" action="page.cgi">
      <input type="hidden" name="id" value="triage_request.html">
      <input type="hidden" name="update" value="1">
      <input type="submit" value="Yes, I want to help">
    </form>

  [% END %]

</div>

[% PROCESS global/footer.html.tmpl %]