repo-menu.pull-right

%ul.nav.nav-pills{:role => "tablist"}

  %li#restart-build-btn.hide
    %a.btn.refresh{href:"#", title: "Restart Build"}
      %i.fa.fa-refresh{class: "#{'fa-refresh'}"}

  %li{class: "#{'active' if @active is 'current'}"}
    %a{:href => "/repos/#{@repo.name}"} Current

  %li{class: "#{'active' if @active is 'builds'}"}
    %a{:href => "/repos/#{@repo.name}/builds"} Build history

  %li{class: "#{'active' if @active is 'config'}"}
    %a{:href => "/repos/#{@repo.name}/config"} Config Hook