* Finish task #46551.

This commit is contained in:
liyuchun
2021-12-29 10:02:25 +08:00
parent 65386f6344
commit 8e98e9831e
8 changed files with 69 additions and 38 deletions

View File

@@ -422,9 +422,10 @@
<th><?php echo $lang->bug->linkMR;?></th>
<td>
<?php
$canViewMR = common::hasPriv('mr', 'view');
foreach($bug->linkMRTitles as $MRID => $linkMRTitle)
{
echo html::a($this->createLink('mr', 'view', "MRID=$MRID"), "#$MRID $linkMRTitle") . '<br />';
echo ($canViewMR ? html::a($this->createLink('mr', 'view', "MRID=$MRID"), "#$MRID $linkMRTitle") : "#$MRID $linkMRTitle"). '<br />';
}
?>
</td>