My view with custom fields.
Posted: 15 Jan 2020, 08:06
Hello,
Can anyone know how to add custom field value on any "my view" boxes?
Regards,
Marek
Can anyone know how to add custom field value on any "my view" boxes?
Regards,
Marek
Code: Select all
# -- Loop over bug rows and create $v_* variables --
$t_count = count( $t_rows );
if( $t_count == 0 ) {
echo '<tr><td> </td></tr>';
}
for( $i = 0;$i < $t_count; $i++ ) {
$t_bug = $t_rows[$i];
[u] $t_os = string_display_line_links( $t_bug->os ); # show (OS)
$t_os_build = string_display_line_links( $t_bug->os_build ); # show (OS_build)[/u]
$t_summary = string_display_line_links( $t_bug->summary );
$t_last_updated = date( config_get( 'normal_date_format' ), $t_bug->last_updated );Code: Select all
# -- extra column --?>
<td class="wrap width-13">
<?php
if( ON == config_get( 'show_bug_project_links' ) && helper_get_current_project() != $t_bug->project_id ) {
echo '<span>[', string_display_line( project_get_name( $t_bug->project_id ) ), '] </span>';
}
$t_bug_url = string_get_bug_view_url( $t_bug->id );
echo '<span><a href="' . $t_bug_url . '">' . $t_os . '</a></span><br />';
?>
<?php
# os_build
echo '<span class="small">' . $t_os_build . '</span>';
?>
</td>
<?php