Give administrators and maintainers a way to edit test results from distributionView.php

This commit is contained in:
Tony Lambregts
2005-10-30 22:28:09 +00:00
committed by WineHQ
parent 8bb0882cb2
commit 62077d5a10

View File

@@ -132,6 +132,11 @@ else
echo '<td>'.$oTest->sInstalls.'&nbsp</td>',"\n";
echo '<td>'.$oTest->sRuns.'&nbsp</td>',"\n";
echo '<td>'.$oTest->sTestedRating.'&nbsp</td>',"\n";
if ($_SESSION['current']->hasAppVersionModifyPermission($oTest->iVersionId))
{
echo '<td><a href="'.BASE.'/admin/adminTestResults.php?sub=view&iTestingId='.$oTest->iTestingId.'">',"\n";
echo 'Edit</a></td>',"\n";
}
echo '</tr>',"\n";
}
echo '</table>',"\n";