Ack! Try that again.
This commit is contained in:
parent
82e7aa52c7
commit
b6fbf039f4
|
@ -18,10 +18,9 @@
|
||||||
<li>
|
<li>
|
||||||
<input type="checkbox" name="<%= file.file_name %>" value="delete"/>
|
<input type="checkbox" name="<%= file.file_name %>" value="delete"/>
|
||||||
<a href="<%= url_for :web => @web.address, :action => 'files',
|
<a href="<%= url_for :web => @web.address, :action => 'files',
|
||||||
:id => file.file_name %>"><%= file.file_name%></a> (<%= file.created_at.asctime %>) <span class="linked"><%=
|
:id => file.file_name %>"><%= file.file_name%></a> (<%= file.created_at.asctime %>) <span class="linked"><%= "Linked to by: " unless
|
||||||
"Linked to by: " unless @web.pages_that_link_to(file.file_name).empty?
|
@web.pages_that_link_to(file.file_name).empty? -%>
|
||||||
@web.pages_that_link_to(file.file_name).collect { |referring_page|
|
<%= @web.pages_that_link_to(file.file_name).collect { |referring_page| link_to referring_page }.join(", ") %></span>
|
||||||
link_to referring_page }.join(", ") %></span>
|
|
||||||
</li>
|
</li>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue