YARN-10480. replace href tags with ng-href (#2426)

This commit is contained in:
Gabriel Medeiros Coelho 2020-11-10 15:54:28 -03:00 committed by GitHub
parent 82de07c794
commit 61f8c5767e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<a ng-click="stopApp(appName)" class="btn btn-secondary"><span class="glyphicon glyphicon-stop"></span> Stop</a>
<a ng-click="upgradeApp(appName)" class="btn btn-secondary"><span class="glyphicon glyphicon-circle-arrow-up"></span> Upgrade</a>
<div style="display:inline-block;" ng-repeat="(key, value) in details.yarnfile.quicklinks">
<a href="{{value}}" class="btn btn-secondary" ng-hide="checkServiceLink()"><span class="glyphicon glyphicon-new-window"></span> {{key}}</a>
<a ng-href="{{value}}" class="btn btn-secondary" ng-hide="checkServiceLink()"><span class="glyphicon glyphicon-new-window"></span> {{key}}</a>
</div>
{{details.yarnfile.state}}
</div>
@ -53,7 +53,7 @@
<tbody class="table-striped">
<tr ng-repeat="container in docker.containers">
<td>{{container.bare_host}}</td>
<td><a href="http://{{container.bare_host}}:8042/terminal/terminal.template?container={{container.id}}" target="_blank">{{container.id}}</a></td>
<td><a ng-href="http://{{container.bare_host}}:8042/terminal/terminal.template?container={{container.id}}" target="_blank">{{container.id}}</a></td>
<td>{{container.launch_time | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
<td>{{container.state}}</td>
</tr>