summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/template/en/default/moz_review/table.html.tmpl
blob: d167a96517a5368d3bb2b3b46737be9f5c12dfc4 (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
[%# 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.
  #%]

<table class="mozreview-requests" data-mozreview-url="[% Bugzilla.params.mozreview_base_url FILTER html %]">
  <thead>
    <th>Commit</th>
    <th>Status</th>
    <th>Open Issues</th>
    <th>Last Updated</th>
  </thead>
  [% FOREACH rrid IN review_request_ids %]
    [%# rrid is guaranteed to be an integer %]
    <tbody class="mozreview-request"
            data-rrid="[% rrid FILTER none %]">
      <tr class="mozreview-loading-row">
        <td colspan="4">Loading...</td>
      </tr>
      <tr class="mozreview-loading-error-row bz_default_hidden">
        <td colspan="4">Error loading review
          request <span class="mozreview-load-error-rrid"></span>:
          <span class="mozreview-load-error-string"></span></td>
      </tr>
    </tbody>
  [% END %]
</table>