Sha256: 9dd94c7383c2eaeb8a249714d378c550ae84bcb679b31f85aa7cd179264278ae

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 Bytes

Contents

#navbar
  %ul
    %li{:class => (selected == "commits" ? "selected" : "")}
      %a{:href => root+"/commits/"} Commits
    %li
      = link_to_file root, "tip", nil, :text => "Latest Source"
    - if defined?(changeset) && changeset
      %li
      %li{:class => "selected"}== Changeset: #{changeset.revision}
      %li= link_to_changeset root, changeset.node_id.hexlify, :text => "Overview"
      %li= link_to_file root, changeset.node_id.hexlify, nil, :text => "Browse Source"
    - if defined?(file) && file
      %li
      %li{:class => "selected"}== #{file.path.split('/').last}
      %li= link_to_file      root, changeset.node_id.hexlify, file.path, :text => "Source"
      %li= link_to_file_raw  root, changeset.node_id.hexlify, file.path, :text => "Raw"
      %li= link_to_file_diff root, changeset.node_id.hexlify, file.path, :text => "Diff"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
amp-0.5.3 lib/amp/server/fancy_views/_navbar.haml
amp-0.5.2 lib/amp/server/fancy_views/_navbar.haml
amp-0.5.1 lib/amp/server/fancy_views/_navbar.haml
amp-pure-0.5.0 lib/amp/server/fancy_views/_navbar.haml
amp-0.5.0 lib/amp/server/fancy_views/_navbar.haml