Sha256: 34b4c00c5010b0ed04c770da79b3afce4bca11e020410ce5fb642c14a49731ab
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
!!! %html %head %title== Browsing Source: #{path} %link{:rel => "stylesheet", :href => "/stylesheet.css"} %link{:rel => "stylesheet", :href => "/harshcss/twilight.css"} %body #main_container = haml :_navbar, :locals => {:root => root, :selected => "browser", :changeset => changeset, :file => vf_cur} #main - changeset_node = changeset.node_id.hexlify[0..11] = haml :_browser, :locals => {:root => root, :vf_cur => vf_cur, :path => path, :orig_path => orig_path, :file_list => file_list, :changeset_node => changeset_node, :repo => repo} .browser-file - if vf_cur - filelog = repo.file orig_path %h2.header Versions %ul.versions - filelog.each do |rev| %li %a{:href => "/code/#{repo.changelog.node(rev.link_rev).hexlify[0..11]}/#{orig_path}"}== #{rev.link_rev}: #{repo[rev.link_rev].easy_date.strftime("%m/%d/%Y")} %h2.header== Source Revision #{vf_cur.revision} .source-holder - format = format_for_filename File.basename(orig_path) - if format == :markdown :markdown #{vf_cur.data} - elsif format == :textile :textile #{vf_cur.data} - elsif format == :text %pre = "\t"+vf_cur.data - else = highlight_text vf_cur.data, :lines => true, :format => format, :theme => "twilight"
Version data entries
4 entries across 4 versions & 2 rubygems