Fixed the Content-negotiation for sending XHTML.
Fixed a non-well-formed page. Maruku's metadata processing seems to be busted. May have to revert.
This commit is contained in:
parent
9cf0b504f1
commit
eeef7952c3
2 changed files with 8 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
|||
<% @title = "Wiki webs" %>
|
||||
<br/>
|
||||
|
||||
<ul>
|
||||
<% @webs.each do |web| %>
|
||||
|
||||
<li>
|
||||
<% if web.password %> <div class="web_protected">
|
||||
<% else %> <div class="web_normal"> <% end %>
|
||||
<span>
|
||||
<%= link_to_page 'HomePage', web, web.name, :mode => 'show' %>
|
||||
<% if web.published? %>
|
||||
(<%= link_to_page 'HomePage', web, 'published version', :mode => 'publish' %>)
|
||||
|
@ -19,7 +19,7 @@
|
|||
<%= web.last_page.revisions? ? "Revised" : "Created" %> by <%= author_link(web.last_page) %> (<%= web.last_page.current_revision.ip %>)
|
||||
<% end %>
|
||||
</div>
|
||||
</span>
|
||||
</div><br>
|
||||
</div>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue