View Issue Details

IDProjectCategoryView StatusLast Update
0027827mantisbtattachmentspublic2021-01-08 06:40
Reporterdregad Assigned Todregad  
PrioritylowSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.25.0Fixed in Version2.25.0 
Summary0027827: Improve pop-up description for file icons
Description

The pop-up text for attachments icons has a couple of issues

  • file icon text is hardcoded, should be a language string
  • when extension is unknown (i.e. not defined in $g_file_type_icons), a ? is printed, it would be nice to have a descriptive text
TagsNo tags attached.

Activities

dregad

dregad

2021-01-01 10:45

developer  

ksnip_20210101-164252.png (12,139 bytes)   
ksnip_20210101-164252.png (12,139 bytes)   
dregad

dregad

2021-01-03 18:52

developer   ~0064922

Fixed in PR https://github.com/mantisbt/mantisbt/pull/1725

Related Changesets

MantisBT: master f25e1164

2021-01-01 09:39:55

dregad

Details Diff
Improve pop-up description for file icons

Previously, we used an hardcoded 'file icon' string, replaced with
$s_file_icon_description.

Also, added new $s_unknown_file_extension string to have a descriptive
text when the file extension is not referenced in $g_file_type_icons
instead of just displaying '?'.

Fixes 0027827
Affected Issues
0027827
mod - core/file_api.php Diff File
mod - core/print_api.php Diff File
mod - lang/strings_english.txt Diff File