Skip to content

Commit

Permalink
Added full route identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Oct 17, 2022
1 parent 7aecd2d commit 890c931
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/routes.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<tr>
<th scope="row" data-bind="text: type"></th>
<td>
<span data-bind="if: type == 'HTTP'"><a style="text-transform: none; color: white;" class="btn btn-primary" data-bind="click: forwardToConsole, text: name"></a></span>
<span data-bind="ifnot: type == 'HTTP'"><span data-bind="text: name"></span></span>
<span data-bind="if: type == 'HTTP'"><a style="text-transform: none; color: white;" class="btn btn-primary" data-bind="click: forwardToConsole, text: fullName"></a></span>
<span data-bind="ifnot: type == 'HTTP'"><span data-bind="text: fullName"></span></span>
</td>
<td data-bind="text: data"></td>
<td data-bind="text: clientData.remoteAddr"></td>
Expand All @@ -66,6 +66,7 @@

var Route = function(clientData, routeType, routeName, routeData, disconnectType) {
this.clientData = clientData;
this.fullName = routeName;
this.data = routeData;
this.type = routeType;
this.name = routeName;
Expand Down

0 comments on commit 890c931

Please sign in to comment.