Sha256: ad73b62a025084f91b191b4dcb2b13668f70644bdd77b8eea58ed09decf84ac2

Contents?: true

Size: 977 Bytes

Versions: 4

Compression:

Stored size: 977 Bytes

Contents

- total_name = ""
%a.pagebutton{:href => "/code/#{changeset_node}/#{total_name}"} /
- parts = path.split("/").map {|p| p + '/' }
- parts.last.chop! if vf_cur && parts.last
- parts.each do |item|
  - total_name += item
  = link_to_file root, changeset_node, total_name, :text => item, :style => "clear:none;", :class => "pagebutton"
  
%table.browser-list
  %tr
    %th.filename Filename
    %th.date Date
    %th.message Message
  - file_list.each do |file|
    %tr{:class => (path + "/" + file[:link] == orig_path) ? "selected" : ""}
      - if file[:type] == :file
        - fl = repo.file(path + '/' + file[:name])
        - last = fl.index[-2].link_rev
      %td.filename
        = link_to_file root, changeset_node, file[:link], :text => file[:name]
      %td.date
        - if file[:type] == :file
          = rel_date repo[last].easy_date
      %td.message
        - if file[:type] == :directory
          %i (directory)
        - else
          = repo[last].description

Version data entries

4 entries across 4 versions & 2 rubygems

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