Changeset 12584 for branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp
- Timestamp:
- 07/03/15 16:35:17 (9 years ago)
- Location:
- branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/clients.cshtml
r12551 r12584 6 6 <a ng-href="#/statistics/jobs">Jobs</a> 7 7 </li> 8 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) 9 { 8 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) { 10 9 <li> 11 10 <a ng-href="#/statistics/users">Users</a> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientDetails.cshtml
r12551 r12584 236 236 <div class="panel-body"> 237 237 <table class="table table-condensed table-no-border table-auto-width"> 238 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) 239 { 238 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) { 240 239 <tr> 241 240 <td colspan="2"><span data-fittext="0.99">{{task.Id}}</span></td> … … 256 255 <td class="text-right">{{task.CalculatingTime | toTimespan}}</td> 257 256 </tr> 258 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) 259 { 257 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) { 260 258 <tr> 261 259 <td>User:</td> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientDetailsCtrl.js
r12551 r12584 100 100 $scope.curUserId = id; 101 101 $scope.curUserName = name; 102 $scope.curTaskPage = 1; 102 103 getClientDetails(); 103 104 }; -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientTaskDetailsDialogCtrl.js
r12516 r12584 5 5 $scope.taskNo = taskNo; 6 6 $scope.task = task; 7 8 7 $scope.close = function () { 9 8 $modalInstance.dismiss('cancel'); 10 9 }; 11 12 10 }] 13 11 ); -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/jobs/details/jobTaskDetailsDialogCtrl.js
r12516 r12584 5 5 $scope.taskNo = taskNo; 6 6 $scope.task = task; 7 8 7 $scope.close = function () { 9 8 $modalInstance.dismiss('cancel'); 10 9 }; 11 12 10 }] 13 11 ); -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/jobs/jobsCtrl.js
r12551 r12584 42 42 }; 43 43 44 45 44 $scope.updateInterval = $interval(update, $scope.interval); 46 45 var cancelInterval = $scope.$on('$locationChangeSuccess', function () { -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/users/details/userDetails.cshtml
r12551 r12584 16 16 <a ng-href="#/statistics/groups">Groups</a> 17 17 </li> 18 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) { 19 <li> 20 <a ng-href="#/statistics/exceptions">Exceptions</a> 21 </li> 22 } 18 <li> 19 <a ng-href="#/statistics/exceptions">Exceptions</a> 20 </li> 23 21 </ul> 24 22 </header> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/users/details/userDetailsCtrl.js
r12551 r12584 7 7 $scope.completedJobCurPage = 1; 8 8 $scope.completedJobPageSize = 20; 9 10 9 11 10 var getUserDetails = function () { -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/users/users.cshtml
r12551 r12584 16 16 <a ng-href="#/statistics/groups">Groups</a> 17 17 </li> 18 @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) { 19 <li> 20 <a ng-href="#/statistics/exceptions">Exceptions</a> 21 </li> 22 } 18 <li> 19 <a ng-href="#/statistics/exceptions">Exceptions</a> 20 </li> 23 21 </ul> 24 22 </header>
Note: See TracChangeset
for help on using the changeset viewer.