script type='text/template' id='template-jamblaster-options'

  ul
    = '{% if (data.autoconnect) { %}'
    li data-jamblaster-option="auto-connect"
      a href='#' Cancel Auto Connect
    = '{% } else { %}'
    li data-jamblaster-option="auto-connect"
      a href='#' Auto Connect
    = '{% } %}'

    li data-jamblaster-option="restart"
      a href='#' Restart

    li data-jamblaster-option="name"
      a href='#' Name

    li data-jamblaster-option="check-for-updates"
      a href='#' Check for Updates

    = '{% if (data.isDynamicPorts) { %}'
    li data-jamblaster-option="set-static-ports"
      a href='#' Revert To Dynamic Ports
    = '{% } else { %}'
    li data-jamblaster-option="set-static-ports"
      a href='#' Set Static Ports
    = '{% } %}'
    li data-jamblaster-option="factory-reset"
      a href='#' Factory Reset
