myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3794] trunk/app/views/workflows/show.rhtml: Simp


From: noreply
Subject: [myexperiment-hackers] [3794] trunk/app/views/workflows/show.rhtml: Simplified download workflow text and added button to the top of the page
Date: Tue, 19 Nov 2013 13:48:26 +0000 (UTC)

Revision
3794
Author
fbacall
Date
2013-11-19 13:48:26 +0000 (Tue, 19 Nov 2013)

Log Message

Simplified download workflow text and added button to the top of the page

Modified Paths

Diff

Modified: trunk/app/views/workflows/show.rhtml (3793 => 3794)


--- trunk/app/views/workflows/show.rhtml	2013-11-19 13:43:44 UTC (rev 3793)
+++ trunk/app/views/workflows/show.rhtml	2013-11-19 13:48:26 UTC (rev 3794)
@@ -3,6 +3,9 @@
 <%= render :partial => "workflows/deprecation_event", :collection => @workflow.deprecations -%>
 
 <ul class="sectionIcons">
+  <% if @authorised_to_download %>
+    <li><%= icon('download', @named_download_url, "Download Workflow (for version address@hidden)", nil, "Download Workflow") -%></li>
+  <% end %>
 	<% if @authorised_to_edit -%>
 		<li><%= icon('new', new_version_workflow_path(@workflow), nil, nil, 'Upload New Version')%></li>
 	<% end -%>	
@@ -153,7 +156,7 @@
           <br />
 
           <ul class="sectionIcons">
-            <li style="margin-left: 0;"><%= icon('workflow', @named_download_url, "Download Workflow file/package (for version address@hidden)", nil, "Download Workflow File/Package (address@hidden)") -%></li>
+            <li style="margin-left: 0;"><%= icon('workflow', @named_download_url, "Download Workflow (for version address@hidden)", nil, "Download Workflow") -%></li>
           </ul>
           <% if session[:callback] &&
                 session[:callback][:types].include?(@workflow.content_type_id) -%>

reply via email to

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