myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2119] trunk/config/settings.yml.pre: added missi


From: noreply
Subject: [myexperiment-hackers] [2119] trunk/config/settings.yml.pre: added missing content from last commit
Date: Thu, 12 Mar 2009 17:30:41 -0400 (EDT)

Revision
2119
Author
dgc
Date
2009-03-12 17:30:41 -0400 (Thu, 12 Mar 2009)

Log Message

added missing content from last commit

Modified Paths

Diff

Modified: trunk/config/settings.yml.pre (2118 => 2119)


--- trunk/config/settings.yml.pre	2009-03-12 21:27:49 UTC (rev 2118)
+++ trunk/config/settings.yml.pre	2009-03-12 21:30:41 UTC (rev 2119)
@@ -105,6 +105,73 @@
     link:       /packs
     controller: packs
 
+# new_menu - Set "new_menu" with the details of each kind of thing to appear in
+#            the New/Upload gadget.
+#
+#            Each entry must have at least a label and link.  You may specify
+#            controller, in which case it is intepreted as a pattern against
+#            that is matched with the current controller in use.  If it
+#            matches, it becomes the pre selected option in the new/upload
+#            combo box.
+#
+#            You may also specify a condition which is eval'd to determine if
+#            the item should be included.
+#
+#            Example:
+#
+#              new_menu:
+#
+#                - label:      Workflow
+#                  link:       /workflows/new
+#                  controller: workflows
+#
+#                - label:      File
+#                  link:       /files/new
+#                  controller: blobs
+#
+#                - label:      Message
+#                  link:       /messages/new
+#                  controller: messages
+#                  condition:  logged_in?
+
+new_menu:
+
+  - label:      Workflow
+    link:       /workflows/new
+    controller: workflows
+
+  - label:      File
+    link:       /files/new
+    controller: blobs
+
+  - label:      Pack
+    link:       /packs/new
+    controller: packs
+  
+  - label:      Group
+    link:       /groups/new
+    controller: networks
+
+  - label:      Message
+    link:       /messages/new
+    controller: messages
+    condition:  logged_in?
+
+  - label:      Runner
+    link:       /runners/new
+    controller: runners
+    condition:  logged_in? && !TavernaEnactor.for_user(current_user).empty?
+
+  - label:      Experiment
+    link:       /experiments/new
+    controller: experiments
+    condition:  logged_in? && !TavernaEnactor.for_user(current_user).empty?
+
+  - label:      Job
+    link:       /jobs/new
+    controller: jobs
+    condition:  logged_in? && !TavernaEnactor.for_user(current_user).empty?
+
 # email - These are the email addresses used for sending notifications and the
 #         email address to send feedback entered from the web site.
 #

reply via email to

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