myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3372] branches/wf4ever/app/views: WFE-874 Fix th


From: noreply
Subject: [myexperiment-hackers] [3372] branches/wf4ever/app/views: WFE-874 Fix the links for workflow runs
Date: Tue, 29 Jan 2013 18:40:53 +0000 (UTC)

Revision
3372
Author
stain
Date
2013-01-29 18:40:53 +0000 (Tue, 29 Jan 2013)

Log Message

WFE-874 Fix the links for workflow runs

List workflow runs for a given pack resource

TODO: Only do this if the type is Workflow.

Also:
WFE-815 user comments on wfrun listing

Modified Paths

Diff

Modified: branches/wf4ever/app/views/packs/resource_show.rhtml (3371 => 3372)


--- branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-29 18:40:43 UTC (rev 3371)
+++ branches/wf4ever/app/views/packs/resource_show.rhtml	2013-01-29 18:40:53 UTC (rev 3372)
@@ -109,6 +109,9 @@
        
 </div>
 
+<% if true %>
+  <%= render :partial => "workflows/runs", :locals => { :pack => @pack } %>
+<% end %>
 
 <% if false %>
 

Modified: branches/wf4ever/app/views/workflows/_runs.rhtml (3371 => 3372)


--- branches/wf4ever/app/views/workflows/_runs.rhtml	2013-01-29 18:40:43 UTC (rev 3371)
+++ branches/wf4ever/app/views/workflows/_runs.rhtml	2013-01-29 18:40:53 UTC (rev 3372)
@@ -4,8 +4,17 @@
     Workflow runs
   </h3>
   <ul>
-    <li><a href="" #1 (2012-11-17)</a> by Kristina Hettne in RO <a href="" annotation of SNPs</a></li>
-    <li><a href="" #7 (2012-12-24)</a> by Kristina Hettne in RO <a href="" annotation of SNPs</a></li>
-    <li><a href="" #2 (2013-01-14)</a> by Stian Soiland-Reyes in RO <a href="" Kristina's work</a></li>
+    <li><%= link_to "Run #1 (2012-11-17)", { :controller => :packs, :action ="" :wfrun, :resource_path => "1"} -%> 
+      by Kristina Hettne in RO <%= link_to "Functional annotation of SNPs", @pack -%> 
+      <div class="runcomment"><strong>Comment:</strong> Example run with simple inputs</div>
+    </li>
+    <li><%= link_to "Run #7 (2012-12-24)", { :controller => :packs, :action ="" :wfrun, :resource_path => "7"} -%> 
+      by Kristina Hettne in RO <%= link_to "Functional annotation of SNPs", @pack -%>  
+      <div class="runcomment"><strong>Comment:</strong> Analysis with complete dataset (v2.4) as input</div>
+    </li>
+    <li><%= link_to "Run #2 (2013-01-11)", { :controller => :packs, :action ="" :wfrun, :resource_path => "2"} -%>  
+      by Stian Soiland-Reyes in RO <%= link_to "Replicating Kristina's work", @pack -%>  
+      <div class="runcomment"><strong>Comment:</strong> Using updated dataset v2.8</div>
+    </li>
   </ul> 
 </div>
\ No newline at end of file

reply via email to

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