Permalink
Browse files

bump to 10 items in the email

  • Loading branch information...
1 parent fa0b1b4 commit f4c2adfe2642f12bdf8023f2a0174140d280f5ab Tom Insam committed Sep 9, 2010
@@ -16,10 +16,10 @@
<% for character, items in @people %>
<p><%= link_to h(character.name), character_url(character, @guild.realm) %> (level <%= character.level %> <%= character.classname %>, <%= character.achpoints %> achievement points) gained the following achievements:</p>
<ul>
- <% for item in ( items.size > 6 ? items[0,5] : items ) %>
+ <% for item in ( items.size > 10 ? items[0,9] : items ) %>
<li><%= link_to h(item.achievement.name), achievement_url(item.achievement, item.character.guild) %> (<%= item.achievement.description %>)</li>
<% end %>
- <% if items.size > 6 %>
+ <% if items.size > 10 %>
<li>And a <%= link_to "whole lot more stuff (#{ items.size } things total)", character_url( character, @guild.realm ) %></li>
<% end %>
</ul>
@@ -12,9 +12,9 @@ In the last week..
<% for character, items in @people %>
<%= character.name %> (level <%= character.level %> <%= character.classname %>, <%= character.achpoints %> achievement points) gained the following achievements:
-<% for item in ( items.size > 6 ? items[0,5] : items ) %>
+<% for item in ( items.size > 10 ? items[0,9] : items ) %>
* <%= item.achievement.name %> (<%= item.achievement.description %>)<% end %>
-<% if items.size > 6 %>
+<% if items.size > 10 %>
And a whole lot more stuff (<%= items.size %> things total)<% end %>
<<%= character_url( character, @guild.realm ) %>>

0 comments on commit f4c2adf

Please sign in to comment.