myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2370] branches/biocat/app/views/workflows: added


From: noreply
Subject: [myexperiment-hackers] [2370] branches/biocat/app/views/workflows: added links to services from components
Date: Wed, 31 Mar 2010 10:41:11 -0400 (EDT)

Revision
2370
Author
dgc
Date
2010-03-31 10:41:11 -0400 (Wed, 31 Mar 2010)

Log Message

added links to services from components

Modified Paths

Diff

Modified: branches/biocat/app/views/workflows/taverna2/_internals.rhtml (2369 => 2370)


--- branches/biocat/app/views/workflows/taverna2/_internals.rhtml	2010-03-31 13:49:52 UTC (rev 2369)
+++ branches/biocat/app/views/workflows/taverna2/_internals.rhtml	2010-03-31 14:41:11 UTC (rev 2370)
@@ -120,7 +120,14 @@
               <tr>
                 <td><b><%= h p.name -%></b></td>
                 <td><%= h p.type -%></td>
-                <td><%= h p.description -%></td>
+                <td><%= h p.description -%>
+                  <% if p.wsdl %>
+                    <% if service = Service.find_by_wsdl(p.wsdl) %>
+                      <br /><p>See the <%= link_to('Service entry', service_path(service)) %>
+                      for this web service.</p>
+                    <% end %>
+                  <% end %>
+                </td>
               </tr>
             <% end %>
           </table>
@@ -267,4 +274,4 @@
       <p class="none_text">Unavailable</p>
   <% end -%>
   
-<% end %>
\ No newline at end of file
+<% end %>

Modified: branches/biocat/app/views/workflows/taverna_scufl/_internals.rhtml (2369 => 2370)


--- branches/biocat/app/views/workflows/taverna_scufl/_internals.rhtml	2010-03-31 13:49:52 UTC (rev 2369)
+++ branches/biocat/app/views/workflows/taverna_scufl/_internals.rhtml	2010-03-31 14:41:11 UTC (rev 2370)
@@ -48,7 +48,14 @@
 						  <tr>
 						    <td><b><%= h p.name -%></b></td>
 								<td><%= h p.type -%></td>
-						    <td><%= h p.description -%></td>
+						    <td><%= h p.description -%>
+                <% if p.wsdl %>
+                  <% if service = Service.find_by_wsdl(p.wsdl) %>
+                    <br /><p>See the <%= link_to('Service entry', service_path(service)) %>
+                    for this web service.</p>
+                  <% end %>
+                <% end %>
+                </td>
 						  </tr>
 						<% end %>
 					</table>
@@ -188,4 +195,4 @@
 			<p class="none_text">Unavailable</p>
 	<% end -%>
 
-<% end -%>
\ No newline at end of file
+<% end -%>

reply via email to

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