added html export of wiki page
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@297 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title><%=h @page.pretty_title %></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<h1><%=h @page.pretty_title %></h1>
|
||||
<hr />
|
||||
<%= textilizable @content.text, :wiki_basename => true %>
|
||||
</body>
|
||||
</html>
|
||||
@@ -23,4 +23,9 @@
|
||||
<% cache :action => 'page', :id => @page.id, :ver => @content.version do %>
|
||||
<%= textilizable @content.text %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="contextual">
|
||||
<%= l(:label_export_to) %>
|
||||
<%= link_to 'HTML', {:export => 'html'}, :class => 'icon icon-html' %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user