Skip to content

Commit

Permalink
[IM] Show media in place of duplex
Browse files Browse the repository at this point in the history
Duplex is still shown if it is HD but, this is 2015... half-duplex anyone?
  • Loading branch information
barryo committed Jan 27, 2015
1 parent 4b7e1c0 commit fa8b11c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions application/views/customer/overview-tabs/ports/port.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,17 @@
</tr>
<tr>
<td><strong>Speed:</strong></td>
<td id="value">{$pi->getSpeed()} Mbps</td>
<td id="value">
{$pi->getSpeed()} Mbps {if $pi->getDuplex() neq 'full'}(HD){/if}
</td>
<td></td>
<td><strong>Duplex:</strong></td>
<td id="value">{$pi->getDuplex()}</td>
{if $pi->getSwitchPort()->getSwitcher()->getMauSupported()}
<td><strong>Media:</strong></td>
<td id="value">{$pi->getSwitchPort()->getMauType()}</td>
{else}
<td><strong>Duplex:</strong></td>
<td id="value">{$pi->getDuplex()}</td>
{/if}
</tr>
{if $pi->getSwitchPort()->getSwitcher()->getCabinet()}
<tr>
Expand Down

0 comments on commit fa8b11c

Please sign in to comment.