1005d92bd1
visual display if webs are pass-protected (div background)
21 lines
582 B
Text
21 lines
582 B
Text
<% @title = "Wiki webs" %>
|
|
|
|
|
|
<% @webs.each do |web| %>
|
|
|
|
<% 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' %>)
|
|
<% end %>
|
|
|
|
<div class="byline" style="margin-bottom: 0px">
|
|
<%= web.pages.length %> pages by <%= web.authors.length %> authors
|
|
</div>
|
|
|
|
</span>
|
|
</div><br>
|
|
<% end %>
|
|
</ul>
|