Makes the special links to find related values not buttons but simplier links with search icon (Thx Dan Booth)

This commit is contained in:
Warren Buckley
2018-09-12 16:53:17 +01:00
parent 142a319776
commit a3a95c0f9d

View File

@@ -158,8 +158,10 @@
<tr ng-repeat="(key, val) in log.Properties">
<th>{{key}}</th>
<td ng-switch on="key">
<button ng-switch-when="HttpRequestNumber" ng-click="vm.findItem(key, val.Value)" class="btn btn-info">Find Logs with Request ID {{val.Value}}</button>
<button ng-switch-when="SourceContext" ng-click="vm.findItem(key, val.Value)" class="btn btn-info">Find Logs with Namespace {{val.Value}}</button>
<a ng-switch-when="HttpRequestNumber" ng-click="vm.findItem(key, val.Value)" title="Find Logs with Request ID">{{val.Value}} <i class="icon-search"></i></a>
<a ng-switch-when="SourceContext" ng-click="vm.findItem(key, val.Value)" title="Find Logs with Namespace">{{val.Value}} <i class="icon-search"></i></a>
<a ng-switch-when="MachineName" ng-click="vm.findItem(key, val.Value)" title="Find Logs with Machine Name">{{val.Value}} <i class="icon-search"></i></a>
<a ng-switch-when="RequestUrl" href="{{val.Value}}" target="_blank" rel="noopener" title="Open">{{val.Value}} <i class="icon-link"></i></a>
<span ng-switch-default>{{val.Value}}</span>
</td>
</tr>