@@ -8,8 +8,8 | |||||
8 | <h2><%=h @page.pretty_title %></h2> |
|
8 | <h2><%=h @page.pretty_title %></h2> | |
9 |
|
9 | |||
10 | <p> |
|
10 | <p> | |
11 | <%= l(:label_version) %> <%= link_to @annotate.content.version, :action => 'show', :id => @page.title, :version => @annotate.content.version %> |
|
11 | <%= l(:label_version) %> <%= link_to h(@annotate.content.version), :action => 'show', :id => @page.title, :version => @annotate.content.version %> | |
12 | <em>(<%= @annotate.content.author ? @annotate.content.author.name : "anonyme" %>, <%= format_time(@annotate.content.updated_on) %>)</em> |
|
12 | <em>(<%= h(@annotate.content.author ? @annotate.content.author.name : "anonyme") %>, <%= format_time(@annotate.content.updated_on) %>)</em> | |
13 | </p> |
|
13 | </p> | |
14 |
|
14 | |||
15 | <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %> |
|
15 | <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %> |
General Comments 0
You need to be logged in to leave comments.
Login now