Skip to content

Instantly share code, notes, and snippets.

@richdownie
Created March 10, 2010 16:17
Show Gist options
  • Save richdownie/328020 to your computer and use it in GitHub Desktop.
Save richdownie/328020 to your computer and use it in GitHub Desktop.
Last login: Wed Mar 10 14:23:31 2010 from 66.66.113.160
[rdownie@qaapp1-t ~]$ sudo su - mongrel
[mongrel@qaapp1-t ~]$ cd /var/www/railsapps/auto/current/
[mongrel@qaapp1-t current]$ cat app/views/issue_mailer/assignment_notification.text.html.erb
<h2 style="margin-bottom: 16px; border-bottom: 1px solid #e1e1e1">
New <%=@issue_types.to_sentence%> Notification
</h2>
<p>Dear <%=@name%>, </p>
-<p><%=pluralize(@count, @issue_types.to_sentence)%> <%= @count.size > 1 ? 'were' : 'was' %> created today and <%= @count.size > 1 ? 'require' : 'requires'%> your immediate attention.</p>
<p>Please follow the URL below to review and comment on these issues:<br/>
<a href="<%=@host%>/issue_types/line_item_index"><%=@host%>/issue_types/line_item_index</a>
</p>
<p>Regards,<br/>
<%=Community.current.name%>
</p>[mongrel@qaapp1-t current]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment