2005-01-24 19:52:04 +01:00
|
|
|
<% @title = "Wiki webs" %>
|
|
|
|
|
2007-01-16 08:23:53 +01:00
|
|
|
|
2005-02-19 00:19:42 +01:00
|
|
|
<% @webs.each do |web| %>
|
2007-01-16 08:23:53 +01:00
|
|
|
|
|
|
|
<% if web.password %> <div style="padding: 4px; background-image: url(/images/bg_protected.gif)">
|
|
|
|
<% else %> <div style="padding: 4px;"> <% end %>
|
|
|
|
<span>
|
|
|
|
<%= link_to_page 'HomePage', web, web.name, :mode => 'show' %>
|
|
|
|
<% if web.published? %>
|
|
|
|
(<%= link_to_page 'HomePage', web, 'published version', :mode => 'publish' %>)
|
2005-01-24 19:52:04 +01:00
|
|
|
<% end %>
|
2007-01-16 08:23:53 +01:00
|
|
|
|
2005-01-24 19:52:04 +01:00
|
|
|
<div class="byline" style="margin-bottom: 0px">
|
|
|
|
<%= web.pages.length %> pages by <%= web.authors.length %> authors
|
|
|
|
</div>
|
2007-01-16 08:23:53 +01:00
|
|
|
|
|
|
|
</span>
|
|
|
|
</div><br>
|
2005-01-24 19:52:04 +01:00
|
|
|
<% end %>
|
|
|
|
</ul>
|