myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3214] branches/wf4ever/app/views/workflows/show.


From: noreply
Subject: [myexperiment-hackers] [3214] branches/wf4ever/app/views/workflows/show.rhtml: added condition to link
Date: Tue, 27 Nov 2012 14:07:35 +0000 (UTC)

Revision
3214
Author
dgc
Date
2012-11-27 14:07:35 +0000 (Tue, 27 Nov 2012)

Log Message

added condition to link

Modified Paths

Diff

Modified: branches/wf4ever/app/views/workflows/show.rhtml (3213 => 3214)


--- branches/wf4ever/app/views/workflows/show.rhtml	2012-11-27 14:06:03 UTC (rev 3213)
+++ branches/wf4ever/app/views/workflows/show.rhtml	2012-11-27 14:07:35 UTC (rev 3214)
@@ -73,7 +73,9 @@
 			<div style="margin-top: 1em;">
 				<ul class="sectionIcons" style="margin-top: 0.7em; margin-bottom: 0.6em;">
 					<li style="margin-left: 0;"><%= icon('edit', workflow_version_edit_url(@workflow.id, @viewing_version.version), nil, nil, "Edit This Version") %></li>
-					<li style="margin-left: 0;"><%= icon('edit', edit_annotations_workflow_path(@workflow), nil, nil, "Edit Annotations") %></li>
+          <% if @workflow.ro_uri %>
+            <li style="margin-left: 0;"><%= icon('edit', edit_annotations_workflow_path(@workflow), nil, nil, "Edit Annotations") %></li>
+          <% end %>
 	        <% if false %>
 					<% if @latest_version_number > 1 %>
 						<% if Authorization.check("destroy", @workflow, current_user) %>

reply via email to

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