View Issue Details

IDProjectCategoryView StatusLast Update
0007131mantisbtchange logpublic2007-05-08 03:42
ReporterchillaxAssigned Tograngeway  
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version1.0.3 
Fixed in Version1.1.0a3 
Summary0007131: Skip Blank Changelogs
Description

I have several projects, with only a few having versions associated with them. That means I have several blank change logs showing up on the change log page.

The fix to prevent those from being displayed is to add the following to ./changelog_page.php:77

$t_version_rows = version_get_all_rows( $t_project_id );

// Skip Blank Changelogs
if (count($t_version_rows) == 0) {
continue;
}

TagsNo tags attached.

Activities

chillax

chillax

2006-05-24 17:58

developer   ~0012899

Another little tweak for this page. (Line 150 if you applied all the lines from above) Add this at the bottom of the file, needs to be localized and probably styled a bit better.

// No changelogs displayed, output message
if ($t_project_index == 0) {
echo '<h2>No Changelog Available</h2>';
}

html_page_bottom1( FILE );