myexperiment-hackers
[Top][All Lists]
Advanced

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

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


From: noreply
Subject: [myexperiment-hackers] [3390] branches/wf4ever/app/views/packs/resource_show.rhtml: WFE-874 Only show workflow runs if type is Workflow
Date: Thu, 31 Jan 2013 13:50:04 +0000 (UTC)

Revision
3390
Author
stain
Date
2013-01-31 13:50:03 +0000 (Thu, 31 Jan 2013)

Log Message

WFE-874 Only show workflow runs if type is Workflow

Modified Paths

Diff

Modified: branches/wf4ever/app/views/packs/resource_show.rhtml (3389 => 3390)


--- branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-31 10:49:46 UTC (rev 3389)
+++ branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-31 13:50:03 UTC (rev 3390)
@@ -129,14 +129,15 @@
        
 </div>
 
-<% if true %>
+<% # FIXME: Use URIs instead of labels! %>
+<% if @types.include? "Workflow" %>
   <%= render :partial => "workflows/runs", :locals => { :pack => @pack } %>
 <% end %>
 
+
 <% if false %>
+<h2>Workflow inputs</h2>
 
-<h2>Workflow inputs (via WF-DESC)</h2>
-
 <ul>
   <% @annotations.query([nil, RDF::URI.parse("http://purl.org/wf4ever/wfdesc#hasInput"), nil]).each do |statement| %>
     <% input_labels = @annotations.query([statement.object, RDF::URI.parse("http://www.w3.org/2000/01/rdf-schema#label"), nil]) %>
@@ -144,7 +145,7 @@
   <% end %>
 </ul>
 
-<h2>Workflow outputs (via WF-DESC)</h2>
+<h2>Workflow outputs</h2>
 
 <ul>
   <% @annotations.query([nil, RDF::URI.parse("http://purl.org/wf4ever/wfdesc#hasOutput"), nil]).each do |statement| %>
@@ -155,6 +156,7 @@
 
 
 
+
 <h2>Debug</h2>
 
 <div class="fold">

reply via email to

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