Skip to content

Commit

Permalink
[BF] $sp->isTypePeering() -> $sp->typePeering()
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhilliard committed Nov 30, 2021
1 parent 99ec092 commit 305a79e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/statistics/member-drilldown.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<?php if( $t->resellerMode() && $c->isReseller ): ?>
<br />
<small>
<?php if( $t->graph->physicalInterface()->switchport->isTypePeering() ): ?>
<?php if( $t->graph->physicalInterface()->switchport->typePeering() ): ?>
Peering Port
<?php elseif( $t->graph->physicalInterface()->switchport->typeFanout() ): ?>
Fanout Port for <a href="<?= route( 'customer@overview', [ 'cust' => $t->graph->physicalInterface()->relatedInterface()->virtualInterface->customer->id ] ) ?>">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/statistics/member.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@

<?php if( $t->resellerMode() && $t->c->isReseller ): ?>
<br />
<?php if( $pi->switchPort->isTypePeering() ): ?>
<?php if( $pi->switchPort->typePeering() ): ?>
Peering Port
<?php elseif( $pi->switchPort->isTypeFanout() ):
<?php elseif( $pi->switchPort->typeFanout() ):
$cust = $pi->relatedInterface()->virtualInterface->customer?>
Fanout Port for <a href="<?= route( 'customer@overview', [ 'cust' => $cust->id ] ) ?>">
<?= $cust->abbreviatedName ?>
Expand Down

0 comments on commit 305a79e

Please sign in to comment.