diff --git a/README.md b/README.md index fdbfb73..7b242b0 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,12 @@ __Setup__ Changelog --------- +__New features in version 1.2.1.:__ +* Show only used status in the workflow for each project. +* Bold the summary for issue modified with 24 hours. +* Show project name in each card for combined view for "All projects". +* Using the default gravtar setting in config_inc.php. + __New features in version 1.2.:__ * make use of the default states * filter directly in the kanban view diff --git a/files/kanban.css b/files/kanban.css index f7a9170..50575e3 100644 --- a/files/kanban.css +++ b/files/kanban.css @@ -81,6 +81,17 @@ div.card a.bugLink.right { margin-right:5px; } +div.card a.bugLinkRecent { + font: bold 16px Tahoma, sans-serif; + line-height: 20px; + color: black; +} + +div.card a.bugLinkRecent.right { + float:right; + margin-right:5px; +} + div.card div.summary { font: 10px Arial, sans-serif; line-height: 1.5em; diff --git a/lang/strings_chinese_traditional.txt b/lang/strings_chinese_traditional.txt new file mode 100644 index 0000000..194410d --- /dev/null +++ b/lang/strings_chinese_traditional.txt @@ -0,0 +1,31 @@ + array($num), 'wip_limit' => $wip_limit, 'color' => get_status_color( $num ) ); + + + //show only status in the workflow for current project + if ( helper_get_current_project() <> 0 ) + { + $t_workflow = config_get( 'status_enum_workflow', null, null, $curr_project_id ); + if ( !empty($t_workflow) ) + { + if ( !isset( $t_workflow[$num] ) ) + { + unset( $columns[kanban_get_status_text($num)] ); + } + } + } + } } } @@ -188,12 +204,16 @@ ); $rowcounts[$title] = count($rows); if(!$rows) { - ?>style="border-color:" - id="" - class="kanbanColumn kanbanColumn"> -

style="background-color:">

- style="border-color:" + id="" + class="kanbanColumn kanbanColumn"> +

style="background-color:">

+ 0 && $rowcounts[$title] > $column['wip_li { $t_bug = $row; echo '
'; + if ( 'combined' == $pdisplay && 0 == $curr_project_id ) + { + echo '
[' . project_get_name( $t_bug->project_id ) . ']
'; + } echo icon_get_status_icon($t_bug->priority); - echo ' ' . string_display_line_links( $t_bug->summary ) . ''; - echo ' #'. $t_bug->id .''; + if ( time() < $t_bug->last_updated + 24*60*60 ){ + echo ' ' . string_display_line_links( $t_bug->summary ) . ''; + echo ' #'. $t_bug->id .''; + }else{ + echo ' ' . string_display_line_links( $t_bug->summary ) . ''; + echo ' #'. $t_bug->id .''; + } $priority = get_enum_element( 'priority', $t_bug->priority ); /* @@ -261,7 +290,17 @@ class=" 0 && $rowcounts[$title] > $column['wip_li if(( ON == config_get( 'show_assigned_names' ) ) && ( $t_bug->handler_id > 0 ) && user_exists($t_bug->handler_id) && ( access_has_project_level( config_get( 'view_handler_threshold' ), $t_bug->project_id ) ) ) { $emailHash = md5( strtolower( trim( user_get_email($t_bug->handler_id) ) ) ); echo '
'; - echo '
'; + // Using the default avatar set in config_inc.php + if ( '404' == config_get('show_avatar') || + 'mm' == config_get('show_avatar') || + 'identicon' == config_get('show_avatar') || + 'monsterid' == config_get('show_avatar') || + 'wavatar' == config_get('show_avatar') || + 'retro' == config_get('show_avatar') || + 'blank' == config_get('show_avatar') ) + echo '
'; + else + echo '
'; echo user_get_realname( $t_bug->handler_id ); echo '
'; @@ -284,6 +323,11 @@ class=" 0 && $rowcounts[$title] > $column['wip_li } ?> + $column){ @@ -303,6 +347,9 @@ class=" 0 && $rowcounts[$title] > $column['wip_li } ?> +