<div class="modal-header">
	<button type="button" class="close" ng-click="$dismiss()"><span aria-hidden="true">&times;</span></button>
	<h3 class="modal-title">Manage Views</h3>
</div>
<div class="modal-body">
	<div uib-alert class="alert-danger" ng-if="error">{{error.message || error}}</div>
	<table class="table table-striped">
		<tbody>
			<tr ng-class="{success: view.id == padData.defaultView.id}" ng-repeat="view in client.views">
				<td><a href="javascript:" ng-click="display(view)">{{view.name}}</a></td>
				<td class="td-buttons">
					<button type="button" ng-hide="view.id == padData.defaultView.id" ng-click="makeDefault(view)" class="btn btn-default">Make default</button>
					<button type="button" ng-click="confirm('Do you really want to delete the view “' + view.name + '”?') && delete(view)" class="btn btn-default">Delete</button>
				</td>
			</tr>
		</tbody>
	</table>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-default" ng-click="$dismiss()">Close</button>
</div>
<div class="modal-header">
	<button type="button" class="close" ng-click="$dismiss()"><span aria-hidden="true">&times;</span></button>
	<h3 class="modal-title">Manage Views</h3>
</div>
<div class="modal-body">
	<div uib-alert class="alert-danger" ng-if="error">{{error.message || error}}</div>
	<table class="table table-striped">
		<tbody>
			<tr ng-class="{success: view.id == client.padData.defaultView.id}" ng-repeat="view in client.views">
				<td><a href="javascript:" ng-click="display(view)">{{view.name}}</a></td>
				<td class="td-buttons">
					<button type="button" ng-hide="view.id == client.padData.defaultView.id" ng-click="makeDefault(view)" class="btn btn-default">Make default</button>
					<button type="button" ng-click="confirm('Do you really want to delete the view “' + view.name + '”?') && delete(view)" class="btn btn-default">Delete</button>
				</td>
			</tr>
		</tbody>
	</table>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-default" ng-click="$dismiss()">Close</button>
</div>
Fix highlighting of default view
Fix highlighting of default view
