Sha256: 457e3ab9e54cebeb27bb0c9db8e5164dd7bac9f0439387f66f9e0b4588e5ba51

Contents?: true

Size: 733 Bytes

Versions: 1

Compression:

Stored size: 733 Bytes

Contents

#menu
  #top
    %a{:href => "/tree/#{branch}", :class => active == :browse ? "active" : ""} Browse
    %a{:href => "/commits/#{branch}", :class => active == :commits ? "active" : ""} Commits
    #branch_span
      %span Branch:
      %span#branch #{branch} 
  #switch_branch
    - branches = settings.branches
    %ul#dropdown
      %li.headlink
        %a{:href => "#"}
          = "Switch Branches (#{branches.size})" + "▾"
        %ul
          - branches.each do |b|
            %li
              - fbn = b.ljust(20).gsub(/\s/," ")
              - if b == branch
                = " ✓" + fbn
              - else
                %a{:href => "/tree/#{b}"}
                  = "  " + fbn
  .clear

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-bro-0.2.0 sinatra/views/menu.haml