instiki/app/views/wiki/_inbound_links.rhtml

14 lines
451 B
Text
Raw Normal View History

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