<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <author>Kenny Grant</author>
  <content>I sometimes find myself wondering whether other users are subscribed to a ticket when I'm addressing them in the comments. So it's handy to know which users are subscribed to a particular ticket. To do that, something similar to this could be added to the end of app/views/

Obviously show_all_subscriptions? would be a helper method checking a per-project preference, to turn this feature on or off, and the subscribers.collect line would also be a helper method, but I've put it all together for clarity. 

Is there a more official way to suggest patches rather than adding a ticket? 

{{{
&lt;div class="quiet righted fine ticket-subscribers"&gt;	
  &lt;% def show_all_subscriptions?; true; end -%&gt;
  &lt;% if show_all_subscriptions? -%&gt;
	&lt;% if @ticket.subscribers.empty? -%&gt;
	  &lt;%=_ 'No subscribed users' %&gt;
  	&lt;% else -%&gt;	
	  &lt;%=_ 'Currently subscribed users - ' %&gt;
	  &lt;% user_names = @ticket.subscribers.collect {|user| h user.name} -%&gt;
	  &lt;%= user_names.join(", ") -%&gt;
  	&lt;% end -%&gt;
  &lt;% end -%&gt;
&lt;/div&gt;
}}}</content>
  <created-at type="datetime">2008-09-01T23:37:13+01:00</created-at>
  <id type="integer">442</id>
  <milestone-id type="integer">3</milestone-id>
  <summary>Add listing of currently subscribed users to ticket page</summary>
  <updated-at type="datetime">2009-01-24T21:26:10+00:00</updated-at>
  <status>
    <id type="integer">1</id>
    <name>Open</name>
  </status>
  <priority>
    <id type="integer">3</id>
    <name>Idea</name>
  </priority>
</ticket>
