~ubuntu-branches/debian/sid/bugzilla/sid

« back to all changes in this revision

Viewing changes to template/en/default/admin/flag-type/list.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Patrick Davies
  • Date: 2008-05-29 17:20:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080529172032-tddh964ztksxayjm
Tags: 3.0.4-0ubuntu1
* New upstream release (LP: #138886, #235701).
* Removed "CVS" directories and ".cvsignore" files from upstream tarball.
* Added patches/ubuntu_01_bugzilla_libpath.dpatch - newly updated as necessary
  version of old 01_libpath.dpatch patch.
* Added patches/01_debian_package_version.dpatch - replaces old patch
  01_VERSION.dpatch, simply changes the version of Bugzilla to show the
  Debian packaging's versioning.
* Added patches/ubuntu_05_makefile_install.dpatch - Use a Makefile to
  install Bugzilla to the correct locations. Based on Makefile in old
  package but in patch form.
* Removed 02_checksetup.dpatch - fixed upstream.
* Removed 101_Config.diff - upstream has changed codebase.
* Renamed 06_contrib.dpatch to ubuntu_02_contrib_shebang_fixes.dpatch -
  corrects 'shebangs' which point to /usr/local/bin/ to /usr/bin/.
* Renamed 08_showdependencygraph.dpatch to
  ubuntu_03_showdependencygraph_url_fixes.dpatch and updated code as
  necessary - fixes graph URL to make the webdot generation possible.
* Removed CVE-2007-0791.dpatch - applied to upstream code.
* Removed CVE-2007-4543.dpatch - applied to upstream code.
* Renamed 09_homelink.dpatch to ubuntu_04_fixed_homepage_linked.dpatch -
  upstream now has links in
  'template/en/default/global/common-links.html.tmpl' instead of
  'useful-links.html.tmpl'.
* Removed 03_webpath.dpatch - upstream has changed stylesheet layout.
* Updated 10_perl_scripts_shebang.dpatch and removed part on "globals.pl" -
  no longer in source.
* Removed Debian vhost support patches (see docs/html/multiple-bz-dbs.html
  for how to run multiple Bugzilla instances):
  - Removed 04_Config.pm.dpatch - duplicate patch and unable to adapt it to
    new upstream code.
  - Removed 07_virtualhosting.dpatch - duplicate patch of
    04_Config.pm.dpatch.
  - Removed 'debian/examples' - contained Apache VHost example setup files
    for Bugzilla.
  - Removed section about vhosts from README.Debian.
* debian/rules:
  - Removed rules for "vhost conf dir", "examples" and "101_Config.diff"
    installation rules.
  - Removed part about bugzilla-fr package.
  - Remved part about "whine.pl" - now in Makefile.
  - Added rules to check the setup with upstream's "checksetup.pl" script.
* debian/control:
  - Updated Standards-Version to 3.7.3.
  - Updated compatibity level and debhelper build dependency version to 6.
  - Added Homepage field to source package stanza.
  - Added part about seeing 'bugzilla' package for more info to
    'bugzilla-docs'.
  - Added libapache2-mod-perl2, libtemplate-perl, libmime-perl,
    libappconfig-perl, libdbd-mysql-perl, libtimedate-perl, libgd-gd2-perl,
    libgd-text-perl, libxml-twig-perl, perlmagick, libemail-send-perl,
    libemail-mime-modifier-perl, libchart-perl, libgd-graph-perl,
    libhtml-scrubber-perl, libdbi-perl, libfile-spec-perl, libgd-graph-perl,
    libgd-text-perl, libnet-ldap-perl, libxml-parser-perl: to build
    dependencies with the necessary versions as stated by upstream in
    docs/html/installation.html - in order to check packaging correctly with
    'checksetup.pl' in rules. Also updated the 'bugzilla' dependencies with
    the above (LP: #235461).
  - Removed dependencies on old "apache" packages as they are no longer in
    the archives.
  - Moved mail transport agents on 'bugzilla' from Depends to
    Suggests (LP: #156405).
* debian/copyright: Updated the downloaded from link.
* debian/bugzilla.docs: Added "QUICKSTART", "rel_notes.txt" and "UPGRADING"
  documentation from source tarball for inclusion in package.
* debian/bugzilla-doc.doc-base: Corrected some spelling mistakes.
* debian/bugzilla.postinst: Removed sections about 101_Config.diff.
* Changed 'X_BUGZILLA_SITE' in bugzilla.cron.daily and bugzilla.postinst to
  'PROJECT'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
[% PROCESS global/variables.none.tmpl %]
23
23
 
 
24
[% PROCESS "global/js-products.html.tmpl" %]
 
25
 
24
26
[% PROCESS global/header.html.tmpl
25
27
  title = 'Administer Flag Types'
26
28
  style = "
27
 
    table#flag_types tr th { text-align: left; }
 
29
    table#flag_types_bugs tr th,
 
30
    table#flag_types_attachments tr th { text-align: left; }
28
31
    .inactive { color: #787878; }
 
32
    .multiplicable { display: block; }
29
33
  "
 
34
  onload="selectProduct(document.forms[0], 'product', 'component', '__All__');"
 
35
  javascript_urls=["productmenu.js"]
30
36
%]
31
37
 
32
38
<p>
43
49
  depending on whether the patch passed or failed review.
44
50
</p>
45
51
 
 
52
<p>
 
53
  You can restrict the list of flag types to those available for a given product
 
54
  and component. If a product is selected with no component, only flag types
 
55
  which are available to at least one component of the product are shown.
 
56
</p>
 
57
 
 
58
<form action="editflagtypes.cgi" method="get">
 
59
  <table>
 
60
    <tr>
 
61
      <th><label for="product">Product:</label></th>
 
62
      <td>
 
63
        <select name="product" onchange="selectProduct(this.form, 'product', 'component', '__Any__');">
 
64
          <option value="">__Any__</option>
 
65
          [% FOREACH prod = products %]
 
66
            <option value="[% prod.name FILTER html %]"
 
67
                    [% " selected" IF selected_product == prod.name %]>
 
68
                    [% prod.name FILTER html %]</option>
 
69
          [% END %]
 
70
        </select>
 
71
      </td>
 
72
      <th><label for="component">Component:</label></th>
 
73
      <td>
 
74
        <select name="component">
 
75
          <option value="">__Any__</option>
 
76
          [% FOREACH comp = components %]
 
77
            <option value="[% comp FILTER html %]"
 
78
                    [% " selected" IF selected_component == comp %]>
 
79
                    [% comp FILTER html %]</option>
 
80
          [% END %]
 
81
        </select>
 
82
      </td>
 
83
      <td><input type="submit" id="submit" value="Filter"></td>
 
84
    </tr>
 
85
  </table>
 
86
</form>
 
87
 
46
88
<h3>Flag Types for [% terms.Bugs %]</h3>
47
89
 
48
 
[% PROCESS display_flag_types types=bug_types %]
 
90
[% PROCESS display_flag_types types=bug_types types_id='bugs' %]
49
91
 
50
92
<p>
51
93
  <a href="editflagtypes.cgi?action=enter&amp;target_type=bug">Create Flag Type for [% terms.Bugs %]</a>
53
95
 
54
96
<h3>Flag Types for Attachments</h3>
55
97
 
56
 
[% PROCESS display_flag_types types=attachment_types %]
 
98
[% PROCESS display_flag_types types=attachment_types types_id='attachments' %]
57
99
 
58
100
<p>
59
101
  <a href="editflagtypes.cgi?action=enter&amp;target_type=attachment">Create Flag Type For Attachments</a>
63
105
 
64
106
 
65
107
[% BLOCK display_flag_types %]
66
 
  <table id="flag_types" cellspacing="0" cellpadding="4" border="1">
 
108
  <table id="flag_types_[% types_id FILTER html %]" cellspacing="0" cellpadding="4" border="1">
67
109
 
68
110
    <tr>
69
111
      <th>Edit name ...</th>
70
112
      <th>Description</th>
 
113
      <th>Sortkey</th>
 
114
      <th>Properties</th>
 
115
      <th>Grant group</th>
 
116
      <th>Request group</th>
71
117
      <th>Actions</th>
72
118
    </tr>
73
119
 
76
122
      <tr class="[% IF type.is_active %]active[% ELSE %]inactive[% END %]">
77
123
        <td><a href="editflagtypes.cgi?action=edit&amp;id=[% type.id %]">[% type.name FILTER html FILTER no_break %]</a></td>
78
124
        <td>[% type.description FILTER html %]</td>
 
125
        <td align="right">[% type.sortkey FILTER html %]</td>
 
126
        <td>
 
127
          [% IF type.is_requestable %]
 
128
            <span class="requestable">requestable</span>
 
129
          [% END %]
 
130
          [% IF type.is_requestable && type.is_requesteeble %]
 
131
            <span class="requesteeble">(specifically)</span>
 
132
          [% END %]
 
133
          [% IF type.is_multiplicable %]
 
134
            <span class="multiplicable">multiplicable</span>
 
135
          [% END %]
 
136
        </td>
 
137
        <td>[% IF type.grant_group %][% type.grant_group.name FILTER html %][% END %]</td>
 
138
        <td>[% IF type.request_group %][% type.request_group.name FILTER html %][% END %]</td>
79
139
        <td>
80
140
          <a href="editflagtypes.cgi?action=copy&amp;id=[% type.id %]">Copy</a>
81
141
          | <a href="editflagtypes.cgi?action=confirmdelete&amp;id=[% type.id %]">Delete</a>