def _handle_ticketlog_query(self, req): """ hander for query ticket revisions """ jsonstr = urllib.unquote(req.read()) req.args.update(simplejson.loads(jsonstr)) # get ticket id ticket_id = req.args.get("ticket_id") # query ticket revisions data = {} data["ticket_id"] = ticket_id data["headers"] = [ _("Changeset"), _("Author"), _("Time"), _("ChangeLog") ] data["header_width"] = ["5em", "6em", "8em", ""] data["revisions"] = self._get_ticket_revisions(req, ticket_id) return data
def _handle_ticketlog_query(self, req): """ hander for query ticket revisions """ jsonstr = urllib.unquote(req.read()) req.args.update(simplejson.loads(jsonstr)) # get ticket id ticket_id = req.args.get("ticket_id") # query ticket revisions data = {} data["ticket_id"] = ticket_id data["headers"] = [ _("Changeset"), _("Author"), _("Time"), _("ChangeLog")] data["header_width"] = [ "5em", "6em", "8em", ""] data["revisions"] = self._get_ticket_revisions(req, ticket_id) return data
def get_admin_panels(self, req): if 'TT_ADMIN' in req.perm: yield ('ticket', _("Ticket System"), self.SECTION_NAME, _("Ticket Template"))
def get_admin_panels(self, req): if 'TT_ADMIN' in req.perm: yield ('ticket', _('Ticket System'), 'tickettemplate', _('Ticket Template'))