diff --git a/helpdesk/serializers.py b/helpdesk/serializers.py index f6d34857..531db1b7 100644 --- a/helpdesk/serializers.py +++ b/helpdesk/serializers.py @@ -83,12 +83,13 @@ class PublicTicketListingSerializer(serializers.ModelSerializer): status = serializers.SerializerMethodField() queue = serializers.SerializerMethodField() kbitem = serializers.SerializerMethodField() + secret_key = serializers.CharField(read_only=True) class Meta: model = Ticket # fields = '__all__' fields = ('ticket', 'id', 'title', 'queue', 'status', - 'created', 'due_date', 'submitter', 'kbitem') + 'created', 'due_date', 'submitter', 'kbitem', 'secret_key') def get_queue(self, obj): return {"title": obj.queue.title, "id": obj.queue.id} diff --git a/helpdesk/static/helpdesk/helpdesk-extend.css b/helpdesk/static/helpdesk/helpdesk-extend.css index f36f08d9..9e93b62a 100644 --- a/helpdesk/static/helpdesk/helpdesk-extend.css +++ b/helpdesk/static/helpdesk/helpdesk-extend.css @@ -73,7 +73,13 @@ table.ticket-stats tbody th, table.ticket-stats tbody tr {padding-left: 20px} padding-top: 0; } #ticket-description {background-color: #FCF8E3;} -.followup.well {background-color: #f4f5ff;} +.followup.well { + background-color: #f4f5ff; +} +.followup { + padding: 20px; + margin: 30px; +} /* Add your custom styles here */ diff --git a/helpdesk/templates/helpdesk/my_tickets.html b/helpdesk/templates/helpdesk/my_tickets.html index 6cb0726e..cde160a1 100644 --- a/helpdesk/templates/helpdesk/my_tickets.html +++ b/helpdesk/templates/helpdesk/my_tickets.html @@ -7,17 +7,17 @@
Title | -Queue | -Status | -Created | +{% trans "Title" %} | +{% trans "Queue" %} | +{% trans "Status" %} | +{% trans "Created" %} |
---|