% # WontoMedia - a wontology web application # Copyright (C) 2011 - Glen E. Ivey # www.wontology.com # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License version # 3 as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program in the file COPYING and/or LICENSE. If not, # see "http://www.gnu.org/licenses/". %> <% @title_text = 'All Connections' # initialize array to define "Glossary Help" box of links: @glossary_help_entries = [ [ 'Subject', 'Help:GlossaryPtoZ#anchor_Subject' ], [ 'Predicate', 'Help:GlossaryPtoZ#anchor_Predicate' ], [ 'Object', 'Help:GlossaryAtoO#anchor_Object' ], [ 'Title', 'Help:GlossaryPtoZ#anchor_Title' ] ] %>
Subject | Predicate | Object | <%= link_with_tooltip "#{h filter_parenthetical connection.subject.title}", h( connection.subject.name ), item_by_name_path(connection.subject.name) -%> | <%= link_with_tooltip( "#{h filter_parenthetical connection.predicate.title}", h( connection.predicate.name ), item_by_name_path(connection.predicate.name) ) -%> | <% if connection.kind_of_obj == Connection::OBJECT_KIND_ITEM %> <%= link_with_tooltip( "#{h filter_parenthetical connection.obj.title}", h( connection.obj.name ), item_by_name_path(connection.obj.name) ) -%> <% else %> <%= h connection.scalar_obj %> <% end %> | <% generate_connection_links(connection) %> | <% end %> <% end %>
---|