myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3306] branches/wf4ever/app/views/packs: Moved ou


From: noreply
Subject: [myexperiment-hackers] [3306] branches/wf4ever/app/views/packs: Moved out items count to _itemscount.rhtml
Date: Tue, 15 Jan 2013 15:58:05 +0000 (UTC)

Revision
3306
Author
stain
Date
2013-01-15 15:58:05 +0000 (Tue, 15 Jan 2013)

Log Message

Moved out items count to _itemscount.rhtml

Modified Paths

Added Paths

Diff

Added: branches/wf4ever/app/views/packs/_itemscount.rhtml (0 => 3306)


--- branches/wf4ever/app/views/packs/_itemscount.rhtml	                        (rev 0)
+++ branches/wf4ever/app/views/packs/_itemscount.rhtml	2013-01-15 15:58:05 UTC (rev 3306)
@@ -0,0 +1,5 @@
+	<div class="contribution_section_box">
+		<p style="font-size: 108%;">
+		 	<b><%= pluralize pack.items_count, "item" %> in this pack</b>
+		</p>
+	</div>
\ No newline at end of file

Modified: branches/wf4ever/app/views/packs/show.rhtml (3305 => 3306)


--- branches/wf4ever/app/views/packs/show.rhtml	2013-01-15 15:57:58 UTC (rev 3305)
+++ branches/wf4ever/app/views/packs/show.rhtml	2013-01-15 15:58:05 UTC (rev 3306)
@@ -148,13 +148,9 @@
 
 <div class="contribution_right_box">
 	<%= render :partial => "contributions/uploader_box", :locals => { :contributable => @pack } %>
-	
-	<div class="contribution_section_box">
-		<p style="font-size: 108%;">
-		 	<b><%= pluralize @pack.items_count, "item" %> in this pack</b>
-		</p>
-	</div>
-	
+	<%= render :partial => "itemscount", :locals => { :pack => @pack } %>
+
+
   <%= render :partial => "contributions/curation_box", :locals => { :contributable => @pack } %>
 
 	<%= render :partial => "tags/tags_box", :locals => { :taggable => @pack, 

reply via email to

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