View Issue Details

IDProjectCategoryView StatusLast Update
0007259mantisbtcustomizationpublic2011-08-02 12:35
Reportereric_b Assigned Toatrol  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.0.2 
Fixed in Version1.2.0 
Summary0007259: Include version timestamp on change log
Description

We use the Date Order field on manage_proj_ver_edit_page.php as the release date for that version. I have modified my installation to include this in the change log.

Additional Information

Modified function print_version_header

Here is the modified code:

Print header for the specified project version.

function print_version_header( $p_version_id ) {
$t_project_id = version_get_field( $p_version_id, 'project_id' );
$t_version_name = version_get_field( $p_version_id, 'version' );
$t_project_name = project_get_field( $t_project_id, 'name' );
$t_version_release_date = version_get_field( $p_version_id, 'date_order' );

$t_release_title = string_display( $t_project_name ) . ' - ' . string_display( $t_version_name ) . ' - Released: ' . string_display($t_version_release_date);
echo $t_release_title, '<br />';
echo str_pad( '', strlen( $t_release_title ), '=' ), '<br />';

$t_description = version_get_field( $p_version_id, 'description' );
if ( ( $t_description !== false ) && !is_blank( $t_description ) ) {
    echo string_display( &quot;<br />$t_description<br /><br />&quot; );
}

}

TagsNo tags attached.

Activities

There are no notes attached to this issue.