   condDynamicUpdateFlag: false
   getInitialState: ->
     cond: [0, 0, 0, 0, 0, 0]
-    label: [[false, false, false, false, false, false],
-            [false, false, false, false, false, false],
-            [false, false, false, false, false, false],
-            [false, false, false, false, false, false],
-            [false, false, false, false, false, false],
-            [false, false, false, false, false, false]]
+    label: [-1, -1, -1, -1, -1, -1]
   updateLabels: ->
     # refresh label
     {label} = @state
     for shipId, j in @props.deck.api_ship
       continue if shipId == -1
       ship = _ships[shipId]
-      status = getStatusArray shipId
+      status = getShipStatus shipId
       label[j] = status
     label
   onCondChange: (cond) ->

    else if @props.status[4]? and @props.status[4]
      <Label bsStyle="warning"><FontAwesome key={0} name='rub' /></Label>

    @todo: improve extesibility
###
StatusLabelMini = React.createClass
  shouldComponentUpdate: (nextProps, nextState) ->
    not _.isEqual(nextProps.label, @props.label)
  render: ->
    if @props.label[0]? and @props.label[0]
      <Label bsStyle="danger"><FontAwesome key={0} name='exclamation-circle' /></Label>
    else if @props.label[1]? and @props.label[1]
      <Label bsStyle="info"><FontAwesome key={0} name='wrench' /></Label>
    else if @props.label[2]? and @props.label[2]
      <Label bsStyle="info"><FontAwesome key={0} name='lock' /></Label>
    else if @props.label[3]? and @props.label[3]
      <Label bsStyle="primary"><FontAwesome key={0} name='lock' /></Label>
    else if @props.label[4]? and @props.label[4]
      <Label bsStyle="success"><FontAwesome key={0} name='lock' /></Label>
    else if @props.label[4]? and @props.label[4]
      <Label bsStyle="warning"><FontAwesome key={0} name='lock' /></Label>
    else
      <Label bsStyle="default" style={border: '1px solid'}></Label>

          ship = _ships[shipId]
          shipInfo = $ships[ship.api_ship_id]
          shipType = $shipTypes[shipInfo.api_stype].api_name
          <div className="ship-tile">
            <OverlayTrigger placement="top" overlay={
              <Popover className="ship-pop">
