Changeset 214
- Timestamp:
- 08/03/08 23:18:16 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nethorus/app/views/bridge_management/show_bridge.html.erb
r200 r214 27 27 </tr> 28 28 <tr> 29 <th>Root port</th><td><%=h @bridge.dot1d_stp_root_port %>: <%= @bridge.stp_ports.find(:first, :conditions => { :dot1d_base_port => @bridge.dot1d_stp_root_port }).l2_interface.ifdescr_short %></td> 29 <th>Root port</th> 30 <td> 31 <% if @bridge.dot1d_stp_root_port == 0 %> 32 This is a root bridge and has no root port. 33 <% else %> 34 <%=h @bridge.dot1d_stp_root_port %>: <%= @bridge.stp_ports.find(:first, :conditions => { :dot1d_base_port => @bridge.dot1d_stp_root_port }).l2_interface.ifdescr_short %></td> 35 <% end %> 36 </td> 30 37 </tr> 31 38 </table>
