Ticket #877: patch-reporttitle-r1011.diff
| File patch-reporttitle-r1011.diff, 1.7 KB (added by pkou <pkou at ua.fm>, 8 years ago) |
|---|
-
trac/Report.py
196 196 197 197 if copy: 198 198 title += ' copy' 199 self.req.hdf.setValue('title', 'Create New Report') 199 200 if action == 'commit': 201 self.req.hdf.setValue('title', 'Edit {%s} %s (report)' % (id, row['title'])) 202 else: 203 self.req.hdf.setValue('title', 'Create New Report') 200 204 self.req.hdf.setValue('report.mode', 'editor') 201 205 self.req.hdf.setValue('report.title', title) 202 206 self.req.hdf.setValue('report.id', str(id)) -
templates/report.cs
175 175 176 176 <?cs elif report.mode == "delete" ?> 177 177 178 <h1 id="report-hdr">Delete Report </h1>178 <h1 id="report-hdr">Delete Report {<?cs var:report.id ?>}: <?cs var:report.title ?></h1> 179 179 <form action="<?cs var:cgi_location ?>" method="post"> 180 180 <input type="hidden" name="mode" value="report" /> 181 181 <input type="hidden" name="id" value="<?cs var:report.id ?>" />
