Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ce1f58bd
Commit
ce1f58bd
authored
Oct 20, 2006
by
olav%bkor.dhs.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 72863: Remove ugly table shown when posting/changing a bug
Patch by Olav Vitters <olav@bkor.dhs.org> r+a=justdave
parent
5581722e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
67 deletions
+54
-67
global.css
skins/standard/global.css
+10
-0
created.html.tmpl
template/en/default/attachment/created.html.tmpl
+10
-14
updated.html.tmpl
template/en/default/attachment/updated.html.tmpl
+9
-16
bugmail.html.tmpl
template/en/default/bug/process/bugmail.html.tmpl
+7
-9
results.html.tmpl
template/en/default/bug/process/results.html.tmpl
+14
-25
filterexceptions.pl
template/en/default/filterexceptions.pl
+4
-3
No files found.
skins/standard/global.css
View file @
ce1f58bd
...
...
@@ -270,3 +270,13 @@ table#flags td {
margin
:
1em
;
padding
:
0.5em
1em
;
}
dt
{
font-weight
:
bolder
;
}
body
>
dl
>
dt
{
border-top
:
dotted
gray
thin
;
}
dl
dl
>
dt
{
border-top
:
none
;
}
template/en/default/attachment/created.html.tmpl
View file @
ce1f58bd
...
...
@@ -32,17 +32,14 @@
[% PROCESS global/header.html.tmpl
title = "Changes Submitted"
style = "th { text-align: left; }"
%]
<table border="1">
<tr>
<td>
<h2>
<dl>
<dt>
<a title="[% description FILTER html %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a>
to <a href="show_bug.cgi?id=[% bugid %]">[% terms.Bug %] #[% bugid %]</a> C
reated
</h2
>
to [% "$terms.bug $bugid" FILTER bug_link(bugid) %] c
reated
</dt
>
<dd>
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %]
[% IF convertedbmp %]
<p>
...
...
@@ -58,12 +55,11 @@
editing the attachment's <a href="attachment.cgi?id=[% attachid %]&action=edit">details</a>.
</p>
[% END %]
</td>
<td>
<a href="show_bug.cgi?id=[% bugid %]">Go back to [% terms.bug %] #[% bugid %]</a>
</td>
</tr>
</table>
[%# Links to more information about the changed bug. %]
[% Hook.process("links") %]
</dd>
</dl>
<p>
<a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create
...
...
template/en/default/attachment/updated.html.tmpl
View file @
ce1f58bd
...
...
@@ -29,25 +29,18 @@
[% PROCESS global/header.html.tmpl
title = "Changes Submitted"
style = "th { text-align: left; }"
%]
<hr>
<table border="1">
<tr>
<td>
<h2>Changes to
<dl>
<dt>Changes to
<a href="attachment.cgi?id=[% attachid %]&action=edit">attachment [% attachid %]</a>
of [% terms.bug %] [%+ bugid %] submitted
</h2>
of [% "$terms.bug $bugid" FILTER bug_link(bugid) %] submitted
</dt>
<dd>
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %]
</td>
<td>
<a href="show_bug.cgi?id=[% bugid %]">Back to [% terms.Bug %] #[% bugid %]</a>
</td>
</tr>
</table>
[%# Links to more information about the changed bug. %]
[% Hook.process("links") %]
</dd>
</dl>
[% PROCESS global/footer.html.tmpl %]
template/en/default/bug/process/bugmail.html.tmpl
View file @
ce1f58bd
...
...
@@ -40,32 +40,29 @@
[% mail = SendBugMail(mailing_bugid, mailrecipients) %]
<dl>
[% PROCESS emails
description = "Email sent to"
names = mail.sent
%]
<br>
[% PROCESS emails
description = "Excluding"
names = mail.excluded
%]
<br>
<center>
If you wish to tweak the kinds of mail [% terms.Bugzilla %] sends you, you can
<a href="userprefs.cgi?tab=email">change your preferences</a>.
</center>
</dl>
[%############################################################################%]
[%# Block for a set of email addresses #%]
[%############################################################################%]
[% BLOCK emails %]
<b>[% description FILTER html %]:</b>
<dt>[% description FILTER html %]:</dt>
<dd>
[% IF user.can_see_bug(mailing_bugid) %]
[% IF names.size > 0 %]
[%+ FOREACH name = names %]
[% name FILTER html %]
[% ", " UNLESS loop.last() %]
<code>[% name FILTER html %]</code>
[% ", " UNLESS loop.last() %]
[% END %]
[% ELSE %]
no one
...
...
@@ -73,4 +70,5 @@
[% ELSE %]
(list of e-mails not available)
[% END %]
</dd>
[% END %]
template/en/default/bug/process/results.html.tmpl
View file @
ce1f58bd
...
...
@@ -37,36 +37,25 @@
[% DEFAULT type="bug" %]
[% Link = BLOCK %][% "$terms.Bug $id" FILTER bug_link(id) %][% END %]
[% link = BLOCK %][% "$terms.bug $id" FILTER bug_link(id) %][% END %]
[%
title = {
'bug' => "Changes submitted for $terms.bug $id" ,
'dupe' => "Duplicate notation added to $terms.bug $id" ,
'dep' => "Checking for dependency changes on $terms.bug $id" ,
'votes' => "$terms.Bug $id confirmed by number of votes" ,
'created' => "$terms.Bug $id has been added to the database" ,
'move' => "$terms.Bug $id has been moved to another database" ,
}
linktext = {
'bug' => "Back To $terms.Bug $id" ,
'dupe' => "Go To $terms.Bug $id" ,
'dep' => "Go To $terms.Bug $id" ,
'votes' => "Go To $terms.Bug $id" ,
'created' => "Go To $terms.Bug $id" ,
'move' => "Back To $terms.Bug $id" ,
'bug' => "Changes submitted for $link" ,
'dupe' => "Duplicate notation added to $link" ,
'dep' => "Checking for dependency changes on $link" ,
'votes' => "$Link confirmed by number of votes" ,
'created' => "$Link has been added to the database" ,
'move' => "$Link has been moved to another database" ,
}
%]
<table border="1">
<tr>
<td>
<h2>[% title.$type %]</h2>
<dl>
<dt>[% title.$type %]</dt>
<dd>
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = id %]
</td>
<td>
<a href="show_bug.cgi?id=[% id %]">[% linktext.$type %]</a>
[%# Links to more information about the changed bug. %]
[% Hook.process("links") %]
</td>
</tr>
</table>
</dd>
</dl>
template/en/default/filterexceptions.pl
View file @
ce1f58bd
...
...
@@ -390,8 +390,8 @@
'bug/process/results.html.tmpl'
=>
[
'title.$type'
,
'
id'
,
'
linktext.$type
'
,
'
"$terms.Bug $id" FILTER bug_link(id)'
,
'
"$terms.bug $id" FILTER bug_link(id)
'
,
],
'bug/create/create.html.tmpl'
=>
[
...
...
@@ -429,6 +429,7 @@
'attachid'
,
'bugid'
,
'contenttype'
,
'"$terms.bug $bugid" FILTER bug_link(bugid)'
,
],
'attachment/edit.html.tmpl'
=>
[
...
...
@@ -450,7 +451,7 @@
'attachment/updated.html.tmpl'
=>
[
'attachid'
,
'
bugid'
,
'
"$terms.bug $bugid" FILTER bug_link(bugid)'
,
],
'attachment/diff-header.html.tmpl'
=>
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment