Add the functionality that port type is only shown if applicable.
Add the functionality that port type is only shown if applicable.

cribalik/marathon-ui,mesosphere/marathon-ui,cribalik/marathon-ui,mesosphere/marathon-ui