summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/diff-header.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-27 05:34:42 +0200
committerlpsolit%gmail.com <>2007-05-27 05:34:42 +0200
commit071be418564827e42085e18c39520420f3b9d7ef (patch)
treeb5f95b55c89843b18f539f5f98914dcb02b6d177 /template/en/default/attachment/diff-header.html.tmpl
parent2bd57ce8e6f2c2bb59a99d825fc9d181ea2cb4a5 (diff)
downloadbugzilla-071be418564827e42085e18c39520420f3b9d7ef.tar.gz
bugzilla-071be418564827e42085e18c39520420f3b9d7ef.tar.xz
Bug 218618: Show line numbers on patch attachments when viewing them in "diff" mode - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'template/en/default/attachment/diff-header.html.tmpl')
-rw-r--r--template/en/default/attachment/diff-header.html.tmpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl
index 97a6d0527..a5f05f1bb 100644
--- a/template/en/default/attachment/diff-header.html.tmpl
+++ b/template/en/default/attachment/diff-header.html.tmpl
@@ -37,7 +37,6 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
font-size: 1em;
background-color: #c3c3c3;
border: 1px solid black;
- width: 100%;
}
.file_head a {
@@ -51,7 +50,6 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
}
.section_head {
- width: 100%;
background-color: #f0f0f0;
border: 1px solid black;
text-align: left;
@@ -70,7 +68,6 @@ table.file_table {
tbody.file td {
border-left: 1px dashed black;
border-right: 1px dashed black;
- width: 50%;
}
tbody.file pre {
@@ -95,6 +92,13 @@ tbody.file pre:empty {
background-color: #FFCC99;
}
+.num {
+ background-color: #ffe9ae;
+ text-align:right;
+ padding: 0 0.3em;
+ width: 3em;
+}
+
.warning {
color: red
}
@@ -196,7 +200,7 @@ tbody.file pre:empty {
return twisty.parentNode.parentNode.parentNode.nextSibling;
}
function get_twisty_from_tbody(tbody) {
- return tbody.previousSibling.firstChild.firstChild.firstChild;
+ return tbody.previousSibling.firstChild.nextSibling.firstChild.firstChild;
}
[% END %]