instiki/app/views/wiki/_inbound_links.rhtml

14 lines
451 B
Plaintext
Raw Normal View History

2008-12-15 20:19:22 +01:00
<%- unless @page.linked_from.empty? -%>
<span class="linked">
2007-01-22 14:43:50 +01:00
| Linked from:
<%= @page.linked_from.collect { |referring_page| link_to_existing_page referring_page }.join(", ").html_safe %>
</span>
2008-12-15 20:19:22 +01:00
<%- end -%>
2007-01-22 14:43:50 +01:00
2008-12-15 20:19:22 +01:00
<%- unless @page.included_from.empty? -%>
<span class="linked">
2007-01-22 14:43:50 +01:00
| Included from:
<%= @page.included_from.collect { |referring_page| link_to_existing_page referring_page }.join(", ").html_safe %>
</span>
2008-12-15 20:19:22 +01:00
<%- end -%>