myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3387] branches/wf4ever/app/views/packs/resource_


From: noreply
Subject: [myexperiment-hackers] [3387] branches/wf4ever/app/views/packs/resource_show.rhtml: showing the workflow input relationship in the reverse direction
Date: Thu, 31 Jan 2013 09:54:02 +0000 (UTC)

Revision
3387
Author
dgc
Date
2013-01-31 09:54:02 +0000 (Thu, 31 Jan 2013)

Log Message

showing the workflow input relationship in the reverse direction

Modified Paths

Diff

Modified: branches/wf4ever/app/views/packs/resource_show.rhtml (3386 => 3387)


--- branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-31 09:51:41 UTC (rev 3386)
+++ branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-31 09:54:02 UTC (rev 3387)
@@ -97,6 +97,17 @@
   </ul>
 <% end %>
 
+<% input_selected_reverse = @annotations.query([nil, RDF::URI.parse("http://purl.org/wf4ever/roterms#inputSelected"), @resuri]) %>
+
+<% if input_selected_reverse.count > 0 %>
+  <h2>As input to the following Workflows</h2>
+  <ul>
+    <% input_selected_reverse.statements.each do |statement| %>
+      <li><%=h statement.subject -%></li>
+    <% end %>
+  </ul>
+<% end %>
+
 <div class="download">
 	<h3>
 				<%= info_icon_with_tooltip("This section provides links to the download(s) for this File") %>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]