Merge branch 'sprint/183_zhouxin_18909' into 'master'
fix bug. See merge request easycorp/zentaopms!1604
This commit is contained in:
@@ -278,6 +278,9 @@ function renderUsersAvatar(users, itemID, size)
|
||||
*/
|
||||
function renderKanbanItem(item, $item)
|
||||
{
|
||||
var whiteStyle = null;
|
||||
if(item.color == '#2a5f29' || item.color == '#b10b0b') whiteStyle = 'style="color:#FFFFFF"';
|
||||
|
||||
if(item.fromType == 'execution')
|
||||
{
|
||||
renderExecutionItem(item, $item);
|
||||
@@ -323,7 +326,7 @@ function renderKanbanItem(item, $item)
|
||||
$(
|
||||
[
|
||||
'<div class="actions" title="' + kanbanLang.more + '">',
|
||||
'<a data-contextmenu="card" data-id="' + item.id + '">',
|
||||
'<a data-contextmenu="card"' + whiteStyle + 'data-id="' + item.id + '">',
|
||||
'<i class="icon icon-ellipsis-v"></i>',
|
||||
'</a>',
|
||||
'</div>'
|
||||
|
||||
Reference in New Issue
Block a user