View Issue Details

IDProjectCategoryView StatusLast Update
0031944mantisbtuipublic2023-10-31 16:32
ReporterM13 Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.25.5 
Target Version2.26.0Fixed in Version2.26.0 
Summary0031944: "pinning" an issue calls for not CSS code in view_all_inc.php
Description

view_all_inc.php, line 196:

<td colspan="<?php echo count( $g_columns ); ?>" bgcolor="#d3d3d3"></td>

so it would always render a gray line under pinned without regard to any skins\plugins\custom css

Steps To Reproduce

pin any issue

TagsNo tags attached.
Attached Files
_mantis_bug_smpl.jpg (75,329 bytes)   
_mantis_bug_smpl.jpg (75,329 bytes)   

Activities

atrol

atrol

2023-01-26 15:41

developer   ~0067324

so it would always render a gray line

That's exactly what is not wanted.
You should be able to style it the way you want it by using CSS.

Furthermore inline styles are bad practice due to various reasons, e.g. security see 0021908, https://stackoverflow.com/questions/2612483/whats-so-bad-about-in-line-css ...

M13

M13

2023-01-26 16:55

reporter   ~0067325

Yes, I know, that is wahy I report it as a bug: the view_all_inc.php I'm refering to is not modified, from installation package - you have that inline there and it needs to be fixed

atrol

atrol

2023-01-26 19:41

developer   ~0067326

Sorry @M13 I was confused by your wording and the fact that this is already fixed in latest code, https://github.com/mantisbt/mantisbt/commit/3cc574bac2a73e4761b1206c265a413d57a5e490
So it will be fixed in 2.26.0

M13

M13

2023-01-28 09:52

reporter   ~0067333

perfect, glad to hear

Related Changesets

MantisBT: master 3cc574ba

2022-05-12 11:22

dregad


Details Diff
Replace deprecated bgcolor attribute by CSS Affected Issues
0031944
mod - css/default.css Diff File
mod - view_all_inc.php Diff File