ChangeSet ID: 23912 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/04/02 22:51:27
Modified files: include : testResults.php
Log message: Tony Lambregts tony.lambregts@gmail.com Give maintainers/administrators an easy way to edit test results
Patch: http://cvs.winehq.org/patch.py?id=23912
Old revision New revision Changes Path 1.11 1.12 +5 -0 appdb/include/testResults.php
Index: appdb/include/testResults.php diff -u -p appdb/include/testResults.php:1.11 appdb/include/testResults.php:1.12 --- appdb/include/testResults.php:1.11 3 Apr 2006 3:51:27 -0000 +++ appdb/include/testResults.php 3 Apr 2006 3:51:27 -0000 @@ -413,6 +413,11 @@ class testData{ echo ' <td>'.$oTest->sInstalls.' </td>',"\n"; echo ' <td>'.$oTest->sRuns.' </td>',"\n"; echo ' <td>'.$oTest->sTestedRating.' </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"; }