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
90f6e932
Commit
90f6e932
authored
May 30, 2004
by
jouni%heikniemi.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 223541: Make flags show up correctly in "View all attachments" mode.
r=joel a=justdave
parent
15ca6f2c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
attachment.cgi
attachment.cgi
+1
-0
show-multiple.html.tmpl
template/en/default/attachment/show-multiple.html.tmpl
+11
-4
filterexceptions.pl
template/en/default/filterexceptions.pl
+1
-0
No files found.
attachment.cgi
View file @
90f6e932
...
...
@@ -768,6 +768,7 @@ sub viewall
$a
{
'description'
},
$a
{
'ispatch'
},
$a
{
'isobsolete'
},
$a
{
'isprivate'
},
$a
{
'datasize'
})
=
FetchSQLData
();
$a
{
'isviewable'
}
=
isViewable
(
$a
{
'contenttype'
});
$a
{
'flags'
}
=
Bugzilla::Flag::
match
({
'attach_id'
=>
$a
{
'attachid'
}
});
# Add the hash representing the attachment to the array of attachments.
push
@attachments
,
\%
a
;
...
...
template/en/default/attachment/show-multiple.html.tmpl
View file @
90f6e932
...
...
@@ -61,11 +61,18 @@
<td valign="top">[% a.datasize FILTER unitconvert %]</td>
<td valign="top">
[% IF a.
statuse
s.size == 0 %]
<i>no
ne
</i>
[% IF a.
flag
s.size == 0 %]
<i>no
flags
</i>
[% ELSE %]
[% FOREACH s = a.statuses %]
[% s FILTER html FILTER replace('\s', ' ') %]<br>
[% FOREACH flag = a.flags %]
[% IF flag.setter %]
[% flag.setter.nick FILTER html %]:
[% END %]
[%+ flag.type.name FILTER html %][% flag.status %]
[% IF flag.status == "?" && flag.requestee %]
([% flag.requestee.nick FILTER html %])
[% END %]
[% ", " IF !loop.last %]
[% END %]
[% END %]
</td>
...
...
template/en/default/filterexceptions.pl
View file @
90f6e932
...
...
@@ -450,6 +450,7 @@
'attachment/show-multiple.html.tmpl'
=>
[
'a.attachid'
,
'flag.status'
],
'attachment/updated.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