aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/edit.html.tmpl23
-rw-r--r--template/en/default/attachment/show-multiple.html.tmpl4
2 files changed, 9 insertions, 18 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index 3796b5650..a2c60ac25 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -36,11 +36,6 @@
header = header
subheader = subheader
doc_section = "attachments.html"
- style = "
- table.attachment_info th { text-align: right; vertical-align: top; }
- table.attachment_info td { text-align: left; vertical-align: top; }
- #noview { text-align: left; vertical-align: middle; }
- "
%]
<script type="text/javascript">
@@ -253,6 +248,7 @@
<label for="isprivate">private</label><br>
[% END %]
<br>
+ </small>
[% IF flag_types.size > 0 %]
[% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id
@@ -260,8 +256,8 @@
[% END %]
<div id="smallCommentFrame">
- <b><label for="comment">Comment</label> (on the
- [%+ terms.bug %]):</b><br>
+ <b><small><label for="comment">Comment</label> (on the
+ [%+ terms.bug %]):</small></b><br>
[% INCLUDE global/textarea.html.tmpl
id = 'comment'
name = 'comment'
@@ -282,7 +278,6 @@
&& attachment.datasize > 0 %]
| <a href="attachment.cgi?id=[% attachment.id %]&amp;action=delete">Delete</a>
[% END %]
- </small>
</td>
[% IF !attachment.datasize %]
@@ -317,15 +312,15 @@
<!--
if (typeof document.getElementById == "function") {
[% IF patchviewerinstalled %]
- document.write('<iframe id="viewDiffFrame" style="height: 400px; width: 100%; display: none;"></iframe>');
+ document.write('<iframe id="viewDiffFrame" style="height: 400px; width: 100%; display: none;"><\/iframe>');
[% END %]
- document.write('<button type="button" id="editButton" onclick="editAsComment();">Edit Attachment As Comment</button>');
- document.write('<button type="button" id="undoEditButton" onclick="undoEditAsComment();" style="display: none;">Undo Edit As Comment</button>');
- document.write('<button type="button" id="redoEditButton" onclick="redoEditAsComment();" style="display: none;">Redo Edit As Comment</button>');
+ document.write('<button type="button" id="editButton" onclick="editAsComment();">Edit Attachment As Comment<\/button>');
+ document.write('<button type="button" id="undoEditButton" onclick="undoEditAsComment();" style="display: none;">Undo Edit As Comment<\/button>');
+ document.write('<button type="button" id="redoEditButton" onclick="redoEditAsComment();" style="display: none;">Redo Edit As Comment<\/button>');
[% IF patchviewerinstalled %]
- document.write('<button type="button" id="viewDiffButton" onclick="viewDiff();">View Attachment As Diff</button>');
+ document.write('<button type="button" id="viewDiffButton" onclick="viewDiff();">View Attachment As Diff<\/button>');
[% END %]
- document.write('<button type="button" id="viewRawButton" onclick="viewRaw();" style="display: none;">View Attachment As Raw</button>');
+ document.write('<button type="button" id="viewRawButton" onclick="viewRaw();" style="display: none;">View Attachment As Raw<\/button>');
}
//-->
</script>
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl
index 632a86271..36088c96c 100644
--- a/template/en/default/attachment/show-multiple.html.tmpl
+++ b/template/en/default/attachment/show-multiple.html.tmpl
@@ -31,10 +31,6 @@
title = title
header = header
subheader = filtered_summary
- style = "
- table.attachment_info th { text-align: right; vertical-align: top; }
- table.attachment_info td { text-align: left; vertical-align: top; }
- "
%]
<br>