* Updated license file

* Added support for pre-written responses - uses Ajax to populate comment box.
This commit is contained in:
Ross Poulton
2008-01-11 01:00:01 +00:00
parent ff7f718caf
commit ccb5b9fd97
5 changed files with 90 additions and 32 deletions

View File

@ -226,3 +226,14 @@ class TicketChange(models.Model):
#class Attachment(models.Model):
#followup = models.ForeignKey(FollowUp, edit_inline=models.TABULAR)
#file = models.FileField()
class PreSetReply(models.Model):
queues = models.ManyToManyField(Queue, blank=True, null=True)
name = models.CharField(max_length=100)
body = models.TextField(help_text='Context available: {{ ticket }} - ticket object (eg {{ ticket.title }}); {{ queue }} - The queue; and {{ user }} - the current user.')
class Admin:
pass
class Meta:
ordering = ['name',]