/[pupa]/bugcomm/data/confirmation.rtxt
ViewVC logotype

Diff of /bugcomm/data/confirmation.rtxt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by okuji, Fri Sep 27 10:34:06 2002 UTC revision 1.6 by okuji, Fri Oct 11 11:33:16 2002 UTC
# Line 18  Line 18 
18   along with BugCommunicator; if not, write to the Free Software   along with BugCommunicator; if not, write to the Free Software
19   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  %>  %>
21    <%
22    def q(str)
23      [str].pack('M*')
24    end
25    module_function :q
26    %>
27  Date: <%= @@date %>  Date: <%= @@date %>
28  From: BugCommunicator <<%= @@from %>>  From: BugCommunicator <<%= @@from %>>
29  To: <%= @@to %>  To: <%= @@to %>
# Line 26  sender %> Line 32  sender %>
32  Message-ID: <%= @@msg_id %>  Message-ID: <%= @@msg_id %>
33  Mail-Followup-To: <%= @@from %>  Mail-Followup-To: <%= @@from %>
34  Mime-Version: 1.0 (generated by BugCommunicator <%= @@version %>)  Mime-Version: 1.0 (generated by BugCommunicator <%= @@version %>)
35  Content-Type: text/plain; charset=US-ASCII  Content-Type: text/plain; charset=UTF-8
36  Content-Transfer-Encoding: 7bit  Content-Transfer-Encoding: quoted-printable
37  X-BugCommunicator-Version: <%= @@version %>  X-BugCommunicator-Version: <%= @@version %>
38  X-BugCommunicator-URL: <%= @@url %>  X-BugCommunicator-URL: <%= @@url %>
39    
# Line 72  New Mailing Lists: <%= action.new_lists. Line 78  New Mailing Lists: <%= action.new_lists.
78        field = action.field %>        field = action.field %>
79  Type: Add a field  Type: Add a field
80  Name: <%= field.name %>  Name: <%= field.name %>
81  Display Name: <%= field.display_name %>  Display Name: <%= q(field.display_name) %>
82  Note: <%= field.note %>  Note: <%= q(field.note) %>
83  Admin Only: <%= if field.admin_only? then 'Yes' else 'No' end %>  Admin Only: <%= if field.admin_only? then 'Yes' else 'No' end %>
84  Searchable: <%= if field.searchable? then 'Yes' else 'No' end %><%  Searchable: <%= if field.searchable? then 'Yes' else 'No' end %><%
85        if field.kind_of?(SelectionField) %>        if field.kind_of?(SelectionField) %>
86  Keywords: <%= field.keywords.join(', ') %>  Keywords: <%= q(field.keywords.join(', ')) %>
87  Always Set: <%= if field.always_set? then 'Yes' else 'No' end %><%  Always Set: <%= if field.always_set? then 'Yes' else 'No' end %><%
88        else %>        else %>
89  Can Be Empty: <%= if field.can_be_empty? then 'Yes' else 'No' end %>  Can Be Empty: <%= if field.can_be_empty? then 'Yes' else 'No' end %>
90  Multiple Lines: <%= if field.multiple_lines? then 'Yes' else 'No' end %><%  Multiple Lines: <%= if field.multiple_lines? then 'Yes' else 'No' end %>
91    Regular Expression: <%= q(field.regexp) %><%
92        end        end
93      when RemoveFieldAction %>      when RemoveFieldAction %>
94  Type: Remove a field  Type: Remove a field
# Line 92  Name: <%= action.field.name %><% Line 99  Name: <%= action.field.name %><%
99  Type: Change a field  Type: Change a field
100  Name: <%= old_f.name %><%  Name: <%= old_f.name %><%
101        if old_f.display_name != new_f.display_name %>        if old_f.display_name != new_f.display_name %>
102  Display Name: <%= old_f.display_name %> => <%= new_f.display_name %><%  Display Name: <%= q(old_f.display_name) %> => <%= q(new_f.display_name) %><%
103        end        end
104        if old_f.note != new_f.note %>        if old_f.note != new_f.note %>
105  Note: <%= old_f.note %> => <%= new_f.note %><%  Note: <%= q(old_f.note) %> => <%= q(new_f.note) %><%
106        end        end
107        if old_f.admin_only != new_f.admin_only %>        if old_f.admin_only != new_f.admin_only %>
108  Admin Only: <%= if old_f.admin_only? then 'Yes => No' else 'No => Yes' end %><%  Admin Only: <%= if old_f.admin_only? then 'Yes => No' else 'No => Yes' end %><%
# Line 118  Can Be Empty: <%= if old_f.can_be_empty? Line 125  Can Be Empty: <%= if old_f.can_be_empty?
125  Multiple Lines: <%= if old_f.multiple_lines? then 'Yes => No' else 'No => Yes' end %><%  Multiple Lines: <%= if old_f.multiple_lines? then 'Yes => No' else 'No => Yes' end %><%
126          end          end
127          if old_f.regexp != new_f.regexp %>          if old_f.regexp != new_f.regexp %>
128  Regular Expression: <%= old_f.regexp %> => <%= new_f.regexp %><%  Regular Expression: <%= q(old_f.regexp) %> => <%= q(new_f.regexp) %><%
129          end          end
130        end        end
131      end      end
# Line 129  action.project %> Line 136  action.project %>
136  Type: Change a bug  Type: Change a bug
137  Bug ID: <%= @@action.bug.bug_id %>  Bug ID: <%= @@action.bug.bug_id %>
138  Reporter: <%= @@action.bug['reporter'] %>  Reporter: <%= @@action.bug['reporter'] %>
139  Summary: <%= @@action.bug['summary'] %><%  Summary: <%= q(@@action.bug['summary']) %><%
140    @@action.actions.each do |action| %>    @@action.actions.each do |action| %>
141  <%= action.name %>: <%= action.old_val %> => <%= action.new_val %><%  <%= action.name %>: <%= q(action.old_val) %> => <%= q(action.new_val) %><%
142    end %>    end %>
143  <%  <%
144  end %>  end %>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26