diff options
author | gerv%gerv.net <> | 2002-04-19 01:56:11 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-19 01:56:11 +0000 |
commit | d033109bdc8729e9ef46fc82ad200c7d2cda5a1a (patch) | |
tree | c5f4c8adf0c7da3593567e4a51895c8f9a9b4114 /template/en/default/attachment/show-multiple.html.tmpl | |
parent | b48d8ed62c0cf35960d4a454e084ae7ba8f8a71d (diff) | |
download | bugs-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar bugs-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar.gz bugs-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar.bz2 bugs-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar.xz bugs-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.zip |
Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
Diffstat (limited to 'template/en/default/attachment/show-multiple.html.tmpl')
-rw-r--r-- | template/en/default/attachment/show-multiple.html.tmpl | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl new file mode 100644 index 000000000..88c92b969 --- /dev/null +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -0,0 +1,98 @@ +<!-- 1.0@bugzilla.org --> +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Myk Melez <myk@mozilla.org> + #%] + +[% filtered_summary = bugsummary FILTER html %] +[% INCLUDE global/header + title = "View All Attachments for Bug #$bugid" + h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>" + h2 = filtered_summary + style = " + th { text-align: right; vertical-align: top; } + td { text-align: left; vertical-align: top; } + td#info { text-align: right; vertical-align: top; } + td#actions { text-align: right; vertical-align: bottom; } + " +%] + +<br> + +[% FOREACH a = attachments %] + + <div align="center"> + <table cellspacing="0" cellpadding="4" border="1" width="75%"> + <tr> + <td valign="top" bgcolor="#cccccc" colspan="5"> + <big><b>Attachment #[% a.attachid %]</b></big> + </td> + </tr> + <tr> + <td valign="top"> + [% IF a.isobsolete %] + <strike>[% a.description FILTER html %]</strike> + [% ELSE %] + [% a.description FILTER html %] + [% END %] + </td> + + <td valign="top"> + [% IF a.ispatch %] + <i>patch</i> + [% ELSE %] + [% a.contenttype FILTER html %] + [% END %] + </td> + + <td valign="top">[% a.date %]</td> + + <td valign="top"> + [% IF a.statuses.size == 0 %] + <i>none</i> + [% ELSE %] + [% FOREACH s = a.statuses %] + [% s FILTER html FILTER replace('\s', ' ') %]<br> + [% END %] + [% END %] + </td> + + <td valign="top"> + <a href="attachment.cgi?id=[% a.attachid %]&action=edit">Edit</a> + </td> + </tr> + </table> + + [% IF a.isviewable %] + <iframe src="attachment.cgi?id=[% a.attachid %]&action=view" width="75%" height="350"> + <b>You cannot view the attachment on this page because your browser does not support IFRAMEs. + <a href="attachment.cgi?id=[% a.attachid %]&action=view">View the attachment on a separate page</a>.</b> + </iframe> + [% ELSE %] + <p><b> + Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. + <a href="attachment.cgi?id=[% a.attachid %]&action=view">Download the attachment instead</a>. + </b></p> + [% END %] + </div> + + <br><br> + +[% END %] + +[% INCLUDE global/footer %] |