Sha256: ec7c36753faa945d672cac97b4ad582ec6339ea6240b14844b26f100ef279800

Contents?: true

Size: 981 Bytes

Versions: 1

Compression:

Stored size: 981 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_log(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

1 entries across 1 versions & 1 rubygems

Version Path
amp-0.5.3 lib/amp/server/fancy_views/_browser.haml