@@ -940,7 +940,7 @@ function print_column_edit( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE
940
940
function print_column_priority ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
941
941
echo '<td> ' ;
942
942
if ( ON == config_get ( 'show_priority_text ' ) ) {
943
- print_formatted_priority_string ( $ p_bug-> status , $ p_bug -> priority );
943
+ print_formatted_priority_string ( $ p_bug );
944
944
} else {
945
945
print_status_icon ( $ p_bug ->priority );
946
946
}
@@ -1079,7 +1079,7 @@ function print_column_category_id( $p_bug, $p_columns_target = COLUMNS_TARGET_VI
1079
1079
*/
1080
1080
function print_column_severity ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1081
1081
echo '<td class="center"> ' ;
1082
- print_formatted_severity_string ( $ p_bug-> status , $ p_bug -> severity );
1082
+ print_formatted_severity_string ( $ p_bug );
1083
1083
echo '</td> ' ;
1084
1084
}
1085
1085
@@ -1091,7 +1091,7 @@ function print_column_severity( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_
1091
1091
* @access public
1092
1092
*/
1093
1093
function print_column_eta ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1094
- echo '<td class="center"> ' , get_enum_element ( 'eta ' , $ p_bug ->eta ), '</td> ' ;
1094
+ echo '<td class="center"> ' , get_enum_element ( 'eta ' , $ p_bug ->eta , auth_get_current_user_id (), $ p_bug -> project_id ), '</td> ' ;
1095
1095
}
1096
1096
1097
1097
/**
@@ -1102,7 +1102,7 @@ function print_column_eta( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE
1102
1102
* @access public
1103
1103
*/
1104
1104
function print_column_projection ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1105
- echo '<td class="center"> ' , get_enum_element ( 'projection ' , $ p_bug ->projection ), '</td> ' ;
1105
+ echo '<td class="center"> ' , get_enum_element ( 'projection ' , $ p_bug ->projection , auth_get_current_user_id (), $ p_bug -> project_id ), '</td> ' ;
1106
1106
}
1107
1107
1108
1108
/**
@@ -1113,7 +1113,7 @@ function print_column_projection( $p_bug, $p_columns_target = COLUMNS_TARGET_VIE
1113
1113
* @access public
1114
1114
*/
1115
1115
function print_column_reproducibility ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1116
- echo '<td class="center"> ' , get_enum_element ( 'reproducibility ' , $ p_bug ->reproducibility ), '</td> ' ;
1116
+ echo '<td class="center"> ' , get_enum_element ( 'reproducibility ' , $ p_bug ->reproducibility , auth_get_current_user_id (), $ p_bug -> project_id ), '</td> ' ;
1117
1117
}
1118
1118
1119
1119
/**
@@ -1124,7 +1124,9 @@ function print_column_reproducibility( $p_bug, $p_columns_target = COLUMNS_TARGE
1124
1124
* @access public
1125
1125
*/
1126
1126
function print_column_resolution ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1127
- echo '<td class="center"> ' , get_enum_element ( 'resolution ' , $ p_bug ->resolution ), '</td> ' ;
1127
+ echo '<td class="center"> ' ,
1128
+ get_enum_element ( 'resolution ' , $ p_bug ->resolution , auth_get_current_user_id (), $ p_bug ->project_id ),
1129
+ '</td> ' ;
1128
1130
}
1129
1131
1130
1132
/**
@@ -1136,7 +1138,10 @@ function print_column_resolution( $p_bug, $p_columns_target = COLUMNS_TARGET_VIE
1136
1138
*/
1137
1139
function print_column_status ( $ p_bug , $ p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
1138
1140
echo '<td class="center"> ' ;
1139
- printf ( '<span class="issue-status" title="%s">%s</span> ' , get_enum_element ( 'resolution ' , $ p_bug ->resolution ), get_enum_element ( 'status ' , $ p_bug ->status ) );
1141
+ printf ( '<span class="issue-status" title="%s">%s</span> ' ,
1142
+ get_enum_element ( 'resolution ' , $ p_bug ->resolution , auth_get_current_user_id (), $ p_bug ->project_id ),
1143
+ get_enum_element ( 'status ' , $ p_bug ->status , auth_get_current_user_id (), $ p_bug ->project_id )
1144
+ );
1140
1145
1141
1146
# print username instead of status
1142
1147
if (( ON == config_get ( 'show_assigned_names ' ) ) && ( $ p_bug ->handler_id > 0 ) && ( access_has_project_level ( config_get ( 'view_handler_threshold ' ), $ p_bug ->project_id ) ) ) {
0 commit comments