Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Added default values to permission modals #416 #449
Browse files Browse the repository at this point in the history
  • Loading branch information
monitobeko committed Dec 8, 2016
1 parent b1635ff commit e82bfc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Server/ui/src/app/admin/views/partials/_manageUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ <h4 class="modal-title">Permissions</h4>
<td class="text-center">
<label for="pipelineGroupSelect">
<select name="pipelineGroupSelect" class="form-control" id="pipelineGroupSelect" ng-change="admin.checkEntityType(permission)" ng-if="permission.permissionScope == 'PIPELINE_GROUP'" ng-model="permission.permittedEntityId">
<option value="">All Pipeline Groups</option>
<option value="" selected>All Pipeline Groups</option>
<option ng-repeat="pipelineGroup in admin.currentPipelineGroups" value="{{pipelineGroup.id}}">
{{pipelineGroup.name}}
</option>
</select>
</label>
<label for="pipelineSelect">
<select name="pipelineSelect" class="form-control" id="pipelineSelect" ng-change="admin.checkEntityType(permission)" ng-if="permission.permissionScope == 'PIPELINE'" ng-model="permission.permittedEntityId">
<option value="">All Pipelines</option>
<option value="" selected>All Pipelines</option>
<option ng-repeat="pipeline in admin.allPipelines" value="{{pipeline.id}}">
{{pipeline.name}}
</option>
Expand Down
4 changes: 2 additions & 2 deletions Server/ui/src/app/admin/views/partials/_manageUserGroup.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ <h4 class="modal-title">Manage User Group</h4>
<td class="text-center">
<label for="pipelineGroupSelect">
<select name="pipelineGroupSelect" class="form-control" id="pipelineGroupSelect" ng-change="admin.checkEntityType(permission)" ng-if="permission.permissionScope == 'PIPELINE_GROUP'" ng-model="permission.permittedEntityId">
<option value="">All Pipeline Groups</option>
<option value="" selected>All Pipeline Groups</option>
<option ng-repeat="pipelineGroup in admin.currentPipelineGroups" value="{{pipelineGroup.id}}">
{{pipelineGroup.name}}
</option>
</select>
</label>
<label for="pipelineSelect">
<select name="pipelineSelect" class="form-control" id="pipelineSelect" ng-change="admin.checkEntityType(permission)" ng-if="permission.permissionScope == 'PIPELINE'" ng-model="permission.permittedEntityId">
<option value="">All Pipelines</option>
<option value="" selected>All Pipelines</option>
<option ng-repeat="pipeline in admin.allPipelines" value="{{pipeline.id}}">
{{pipeline.name}}
</option>
Expand Down

0 comments on commit e82bfc9

Please sign in to comment.