myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3370] branches/wf4ever: WFE-876 traffic light UR


From: noreply
Subject: [myexperiment-hackers] [3370] branches/wf4ever: WFE-876 traffic light URLs to config, fix purpose
Date: Tue, 29 Jan 2013 18:40:25 +0000 (UTC)

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

Log Message

WFE-876 traffic light URLs to config, fix purpose

Modified Paths

Diff

Modified: branches/wf4ever/app/views/research_objects/_wf4evertools.rhtml (3369 => 3370)


--- branches/wf4ever/app/views/research_objects/_wf4evertools.rhtml	2013-01-29 11:17:19 UTC (rev 3369)
+++ branches/wf4ever/app/views/research_objects/_wf4evertools.rhtml	2013-01-29 18:40:25 UTC (rev 3370)
@@ -1,16 +1,10 @@
-<%
-# FIXME: MINIM should not be hard coded (here)
-minim = "http://sandbox.wf4ever-project.org/rodl/ROs/Y2Demo-test/workflow-experiment-checklist.rdf"
-minim_purpose = "Complete"
-
-%>
 <div class="contribution_section_box"> 
     <h3 class="heading">
       Wf4Ever tools 
   	</h3>
     <ul class="wf4evertools links">
       <li><%= render :partial => "research_objects/browseportal", :locals => { :ro_uri => ro_uri } -%></li>
-      <li><a href="" minim -%>&amp;purpose=<%= minim_purpose -%>&amp;RO=<%= ro_uri -%>">Checklist</a></li>
+      <li><a href="" Conf.checklist.minim -%>&amp;purpose=<%= Conf.checklist.minim_purpose -%>&amp;RO=<%= ro_uri -%>">Checklist</a></li>
       <li><a href="" and Quality Report</a></li>
       
     </ul>

Modified: branches/wf4ever/config/default_settings.yml (3369 => 3370)


--- branches/wf4ever/config/default_settings.yml	2013-01-29 11:17:19 UTC (rev 3369)
+++ branches/wf4ever/config/default_settings.yml	2013-01-29 18:40:25 UTC (rev 3370)
@@ -713,3 +713,6 @@
 
   - ["Input selected", "http://purl.org/wf4ever/roterms#inputSelected"]
 
+checklist:
+    minim: "http://sandbox.wf4ever-project.org/rodl/ROs/Y2Demo-test/workflow-experiment-checklist.rdf"
+    minim_purpose: "ready-to-release"

Modified: branches/wf4ever/lib/conf.rb (3369 => 3370)


--- branches/wf4ever/lib/conf.rb	2013-01-29 11:17:19 UTC (rev 3369)
+++ branches/wf4ever/lib/conf.rb	2013-01-29 18:40:25 UTC (rev 3370)
@@ -210,6 +210,15 @@
     self.fetch_entry('ro_resource_types')
   end
 
+  def self.checklist
+    self.fetch_entry('checklist')
+  end
+
+  def self.ro_resource_types
+    self.fetch_entry('ro_resource_types')
+  end
+
+
   # Temporary config option for RODL access
   def self.ro_terms
     self.fetch_entry('ro_terms')

reply via email to

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