Merge branch 'sprint/179_tianshujie_bug' into 'master'

* Change assigned to avatar to show up to 3.

See merge request easycorp/zentaopms!1139
This commit is contained in:
孙广明
2021-12-24 06:58:30 +00:00
+2 -2
View File
@@ -95,12 +95,12 @@
<?php
foreach($assignedToList as $account)
{
if($count > 4) continue;
if($count > 2) continue;
echo html::smallAvatar(array('avatar' => $usersAvatar[$account], 'account' => $account));
$count ++;
}
?>
<?php if($count > 4) echo "<span>...</span>";?>
<?php if($count > 2) echo "<span>...</span>";?>
</div>
<?php endif;?>
</div>