diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-05-23 22:25:59 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-05-23 22:26:23 -0400 |
commit | f18dfa735dddbbb3eacdf87e1ce9f9549824be00 (patch) | |
tree | ca6145d6a952422fa538313f68ad03442d7bf8af | |
parent | v3: sysenv, rsync, embedded: rsync to remote host alt output structures, fix (diff) |
v3: defaults, fix path to homepage image (more fixes remain...)sisu_3.0.10
-rw-r--r-- | data/doc/sisu/CHANGELOG_v3 | 2 | ||||
-rw-r--r-- | lib/sisu/v3/defaults.rb | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index a52a6d38..81381fc6 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -55,6 +55,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.10.orig.tar.gz * syslink index.html to toc.html, needs revisit (will only "work" properly with by_language directory structure) + * defaults, fix path to homepage image (more fixes remain ...) + %% 3.0.9.orig.tar.gz (2011-05-17:20/2) http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/3.0.9-1 http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.9.orig.tar.gz diff --git a/lib/sisu/v3/defaults.rb b/lib/sisu/v3/defaults.rb index 2079da47..0ef81402 100644 --- a/lib/sisu/v3/defaults.rb +++ b/lib/sisu/v3/defaults.rb @@ -1029,12 +1029,13 @@ module SiSU_Viz %{<img border="0" height="15" width="15" src="#{url_path_image_sys}/#{icon_external_toc}" alt="lateral hop" />} end def png_home - dir=SiSU_Env::Info_env.new #(@fns) - %{<img border="0" src="#{dir.url.images_local}/#{icon_home_button}" alt="#{txt_home} -->" />} - end - def png_home_button #dir=SiSU_Env::Info_env.new #(@fns) %{<img border="0" src="#{url_path_image_base}/#{icon_home_button}" alt="#{txt_home} -->" />} + #%{<img border="0" src="#{dir.url.images_local}/#{icon_home_button}" alt="#{txt_home} -->" />} + end + def png_home_button + rel=@dir.path_rel_links.html_scroll_2 + %{<img border="0" src="#{rel}/#{icon_home_button}" alt="#{txt_home} -->" />} end def png_book %{<img border="2" height="15" width="15" src="#{url_path_image_sys}/#{icon_book}" alt="Cameron May Books" />} |