diff --git a/client/src/app-components/ticket-viewer.js b/client/src/app-components/ticket-viewer.js index f561a0b8..f7fbeeea 100644 --- a/client/src/app-components/ticket-viewer.js +++ b/client/src/app-components/ticket-viewer.js @@ -13,10 +13,12 @@ import SubmitButton from 'core-components/submit-button'; class TicketViewer extends React.Component { static propTypes = { - ticket: React.PropTypes.object + ticket: React.PropTypes.object, + editable: React.PropTypes.bool }; static defaultProps = { + editable: false, ticket: { author: {}, department: {}, @@ -52,6 +54,20 @@ class TicketViewer extends React.Component {
{ticket.author.name}
{ticket.date}
+
+
{i18n('PRIORITY')}
+
{i18n('OWNER')}
+
{i18n('STATUS')}
+
+
+
+ {ticket.priority} +
+
+ {i18n((ticket.closed) ? 'CLOSED' : 'OPEN')} +
+
{ticket.date}
+