myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2391] trunk/app/views/workflows/_table.rhtml: ma


From: noreply
Subject: [myexperiment-hackers] [2391] trunk/app/views/workflows/_table.rhtml: made content types clickable on tiles
Date: Mon, 26 Apr 2010 11:49:57 -0400 (EDT)

Revision
2391
Author
dgc
Date
2010-04-26 11:49:57 -0400 (Mon, 26 Apr 2010)

Log Message

made content types clickable on tiles

Modified Paths

Diff

Modified: trunk/app/views/workflows/_table.rhtml (2390 => 2391)


--- trunk/app/views/workflows/_table.rhtml	2010-04-26 14:43:54 UTC (rev 2390)
+++ trunk/app/views/workflows/_table.rhtml	2010-04-26 15:49:57 UTC (rev 2391)
@@ -16,7 +16,7 @@
 			<% cache(:controller => 'workflows_cache', :action ="" 'listing', :id => workflow.id) do -%>
 			    <td style="width: 100px;">
 						<div class="workflow_type_box" style="width: auto; margin-bottom: 2em;">
-							<%= workflow.type_display_name -%>
+              <%= link_to(h(workflow.content_type.title), content_type_path(workflow.content_type)) %>
 						</div>
 			    	<p style="margin-top:0; padding-top:0; text-align: center;"><b><%= owner_text workflow -%></b></p>
 						<center><%= contributor(workflow.contribution.contributor_id, workflow.contribution.contributor_type, true, 60) %></center>

reply via email to

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