Changesets can be listed by changeset number.
The Git repository is here.
Changeset 458
Add named anchors to directory listing tables.
- Comitted by: rool
- Date: Thursday October 24 07:12:52 2013 (over 11 years ago)
Affected files:
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/dir_list_tags_extension.rb (diff)
- rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/dir_list_tags.rb (diff)
rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/dir_list_tags_extension.rb:
prev. | current | |
# ------- | ||
# | ||
# 2011-03-06 (ADH): Imported into Radiant 0.9.1 as an Extension. | ||
11 | # 2013-10-24 (ADH): All listing entry anchors now named so that external | |
12 | # pages can refer directly to a table row. | |
# Uncomment this if you reference any of your controllers in activate | ||
# require_dependency 'application_controller' | ||
class DirListTagsExtension < Radiant::Extension | ||
16 | | |
18 | version "2.1" | |
description %{ | ||
Adds tags which enumerate directory contents and return the result as | ||
an HTML fragment. |
rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/dir_list_tags.rb:
prev. | current | |
md5str = "<div class=\"parsed_directory_listing_md5\">#{ md5 }</div>" | ||
end | ||
355 | | |
355 | html << "<td><a name=\"#{entry[:name].gsub(/\W/, '_').downcase}\" href=\"#{entry[:raw][:link]}\">#{entry[:name]}</a>#{tstr}#{md5str}</td>" | |
html << "<td class=\"can_wrap\">#{entry[:info]}</td>" | ||
html << "<td align=\"center\">#{entry[:version]}</td>" | ||
html << "<td align=\"center\">#{entry[:raw][:size]}</td>" |