Better Display of Interweb Wikilinks
Perhaps not the most creative use of CSS. But, at least, this will read better.
This commit is contained in:
parent
7b7d2e80dc
commit
e3aa626489
11 changed files with 57 additions and 24 deletions
|
@ -180,7 +180,8 @@ class UrlGenerator < AbstractUrlGenerator
|
|||
action = web.published? && (web != @web || [:publish, :s5].include?(mode) ) ? 'published' : 'show'
|
||||
href = @controller.url_for :controller => 'wiki', :web => web_address, :action => action,
|
||||
:id => name, :only_path => true
|
||||
%{<a class="existingWikiWord" href="#{href}">#{text}</a>}
|
||||
title = web == @web ? '' : %{ title="#{web_address}"}
|
||||
%{<a class="existingWikiWord" href="#{href}"#{title}>#{text}</a>}
|
||||
end
|
||||
|
||||
def html_ext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue