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

« back to all changes in this revision

Viewing changes to template/en/default/reports/report.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:
29
29
  # format: string. Format of the individual reports.
30
30
  # width: integer. For image charts, height of the image.
31
31
  # height: integer. For image charts, width of the image.
 
32
  # imagebase: string. Base URL for chart image.
32
33
  # switchbase: string. Base URL for format switching.
33
34
  # cumulate: boolean. For bar/line charts, whether to cumulate data sets.
34
35
  #%]
51
52
[% tbl_field_disp = field_descs.$tbl_field || tbl_field %]
52
53
[% col_field_disp = field_descs.$col_field || col_field %]
53
54
[% row_field_disp = field_descs.$row_field || row_field %]
 
55
[% switchbase     = switchbase FILTER html %]
54
56
 
55
57
[% title = BLOCK %]
56
58
  Report: 
73
75
    .t4     { background-color: #c3d3ed } /* darker blue */
74
76
    .ttotal { background-color: #cfffdf } /* light green */
75
77
  "
76
 
  h3 = time2str("%Y-%m-%d %H:%M:%S", time)
 
78
  header_addl_info = time2str("%Y-%m-%d %H:%M:%S", time)
77
79
%]
78
80
 
79
81
[% IF debug %]
96
98
        <h2>[% tbl_disp FILTER html %]</h2>
97
99
      [% END %]
98
100
      
99
 
      [% imageurl = BLOCK %]report.cgi?[% imagebase %]&amp;format=
 
101
      [% imageurl = BLOCK %]report.cgi?[% imagebase FILTER html %]&amp;format=
100
102
        [% format FILTER url_quote %]&amp;ctype=png&amp;action=plot&amp;
101
103
        [% IF tbl_field %]
102
104
          [% IF tbl != "-total-" %]
125
127
                       { name => "line",  description => "Line" },
126
128
                       { name => "table", description => "Table" } ] %]
127
129
 
128
 
        [% formaturl = "report.cgi?$switchbase&width=$width&height=$height" _ 
129
 
                       "&action=wrap" %]
 
130
        [% formaturl = "report.cgi?$switchbase&amp;width=$width" _ 
 
131
                       "&amp;height=$height&amp;action=wrap" %]
130
132
        [% FOREACH other_format = formats %]
131
133
          [% NEXT IF other_format.name == "pie" AND row_field AND col_field %]
132
134
          [% UNLESS other_format.name == format %]
157
159
                   [% height - 100 %]">Shorter</a><br>
158
160
        </td>
159
161
      [% END %]
160
 
    <tr>
 
162
    </tr>
161
163
  </table>
162
164
 
163
165
  <p>