Index: trac/Report.py
===================================================================
--- trac/Report.py	(revision 1011)
+++ trac/Report.py	(working copy)
@@ -196,7 +196,11 @@
 
         if copy:
             title += ' copy'
-        self.req.hdf.setValue('title', 'Create New Report')
+
+        if action == 'commit':
+            self.req.hdf.setValue('title', 'Edit {%s} %s (report)' % (id, row['title']))
+        else:
+            self.req.hdf.setValue('title', 'Create New Report')
         self.req.hdf.setValue('report.mode', 'editor')
         self.req.hdf.setValue('report.title', title)
         self.req.hdf.setValue('report.id', str(id))
Index: templates/report.cs
===================================================================
--- templates/report.cs	(revision 1011)
+++ templates/report.cs	(working copy)
@@ -175,7 +175,7 @@
 
  <?cs elif report.mode == "delete" ?>
 
-  <h1 id="report-hdr">Delete Report</h1> 
+  <h1 id="report-hdr">Delete Report {<?cs var:report.id ?>}: <?cs var:report.title ?></h1> 
   <form action="<?cs var:cgi_location ?>" method="post">
    <input type="hidden" name="mode" value="report" />   <input type="hidden" name="id" value="<?cs var:report.id ?>" />   <input type="hidden" name="action" value="confirm_delete" />
    <p><strong>Are you sure you want to delete this report?</strong></p>
@@ -187,7 +187,11 @@
  
  <?cs elif report.mode == "editor" ?>
  
-   <h1 id="report-hdr">Create New Report</h1>
+   <h1 id="report-hdr">
+     <?cs if report.action == "commit" ?>Edit Report {<?cs var:report.id ?>}: <?cs var:report.title ?>
+     <?cs else ?>Create New Report
+     <?cs /if ?>
+   </h1>
    
    <form action="<?cs var:cgi_location ?>" method="post">
      <div>

