View Issue Details

IDProjectCategoryView StatusLast Update
0003088mantisbtbugtrackerpublic2003-12-13 04:39
Reportered Assigned Toint2str  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.0a4 
Summary0003088: Attachment Indicator on view_all_bug_page.php
Description

Can Mantis indicate that a bug record has an attachment by showing a small paperclip icon beside it?

Also, in the search filter, can we search by records that contain or not contain attachments?

That would be very helpful.

TagsNo tags attached.

Activities

vboctor

vboctor

2003-03-26 22:07

manager   ~0004077

I think it is useful to have an icon next to bugs with attachments. As for the filtering, I think it should be part of a bigger change for the filtering functionality to support all fields including custom fields.

int2str

int2str

2003-03-27 23:49

reporter   ~0004087

I commited a patch which adds a new column to the bug list which contains a clickable paperclip icon.

The new column is however not enabled by default, since it adds a considerable (1 per bug) amount of SQL queries to that page. To enable it, set $g_show_attachment_indicator = ON; in your config file.

ed

ed

2003-03-28 16:53

reporter   ~0004090

Can we preview this feature on this site? I'd like to see how it looks and maybe offer some comments.

int2str

int2str

2003-03-31 09:13

reporter   ~0004097

You can preview it here:
http://www.eisenbach.com/org_mantisbt/view_all_bug_page.php

(login anonymously)

ed

ed

2003-03-31 18:26

reporter   ~0004098

While most people recognize the paperclip as meaning "attachments", there are some newbie users who don't. In the IMG tag, could you set the ALT and TITLE parms to "Attachment" so that the user gets a tooltip help when mousing over the paperclip icon?

vboctor

vboctor

2003-03-31 23:22

manager   ~0004106

I think we should set the title to "1 attachment(s)" or "N attachment(s)". As for the alternate text, I think it should be the number of attachments. The alternate for the title should be the letter "A".

Eventually we can store the number of attachments as a field in the bug, but that's a different story.

int2str

int2str

2003-04-01 00:23

reporter   ~0004110

I commited a patch which implements the ALT and TITLE tags as per Victors suggestions. Preview at the link provided above.

Please let me know if I can resolve this bug now.

ed

ed

2003-04-01 00:37

reporter   ~0004111

Yup, it looks good now.

vboctor

vboctor

2003-04-01 02:46

manager   ~0004112

Looks good to me.

int2str

int2str

2003-04-01 04:34

reporter   ~0004113

Commited to CVS.

Affected files:
view_all_inc.php
config_defaults_inc.php
core/file_api.php
lang/strings_english.php

Related Changesets

MantisBT: master cdb212bf

2003-03-31 21:32

int2str


Details Diff
* doc/ChangeLog:
Added description for bug 0003088 (attachment indicator).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2138 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003088
mod - doc/ChangeLog Diff File