Improved UX if ticket title is ''.
This commit is contained in:
parent
ccbf10cb7a
commit
dd722f94c9
6 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<%- ticket.customer.avatar("50", "", "userInfo-avatar") %>
|
||||
<h2 style="margin-top: 0px;"><a href="<%- ticket.uiUrl() %>" data-type="edit"><%= ticket.title %></a></h2>
|
||||
<h2 style="margin-top: 0px;"><a href="<%- ticket.uiUrl() %>" data-type="edit"><%= ticket.title || '-' %></a></h2>
|
||||
<div class="horizontal">
|
||||
<div class="vertical flex">
|
||||
<table style="width: 100%;">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<%- @Icon('task-state', item.iconClass()) %>
|
||||
</div>
|
||||
<div class="task-text">
|
||||
<a class="name ticket-popover" data-id="<%- item.id %>" href="#ticket/zoom/<%= item.id %>"><%= item.title %></a>
|
||||
<a class="name ticket-popover" data-id="<%- item.id %>" href="#ticket/zoom/<%= item.id %>"><%= item.title || '-' %></a>
|
||||
<%- @humanTime(item.created_at) %>
|
||||
</div>
|
||||
<div class="list-item-delete js-delete" data-object="Ticket" data-object-id="<%= item.id %>" data-link-type="<%= type %>" data-type="remove">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<%- @Icon('task-state', ticket.iconClass()) %>
|
||||
</div>
|
||||
<div class="task-text">
|
||||
<a class="name" data-id="<%- ticket.id %>" href="<%- ticket.uiUrl() %>">#<%= ticket.number %> <%= ticket.title %></a>
|
||||
<a class="name" data-id="<%- ticket.id %>" href="<%- ticket.uiUrl() %>">#<%= ticket.number %> <%= ticket.title || '-' %></a>
|
||||
<%- @humanTime(ticket.created_at, false, 'time') %>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div contenteditable="true" class="ticket-title-update js-objectTitle" data-placeholder="<%- @Ti('Enter Title...') %>"><%= @object.title %></div>
|
||||
<div contenteditable="true" class="ticket-title-update js-objectTitle" data-placeholder="<%- @Ti('Enter Title...') %>"><%= @object.title || '-' %></div>
|
|
@ -20,7 +20,7 @@
|
|||
<% for row in @rows: %>
|
||||
<tr>
|
||||
<td><a href="#ticket/zoom/<%- row.ticket.id %>"><%= row.ticket.number %></a>
|
||||
<td title="<%= row.ticket.title %>"><%= row.ticket.title %>
|
||||
<td title="<%= row.ticket.title %>"><%= row.ticket.title || '-' %>
|
||||
<td><%= row.customer %>
|
||||
<td><%= row.organization %>
|
||||
<td><%= row.agent %>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<%- @Icon('task-state', ticket.iconClass()) %>
|
||||
</div>
|
||||
<div class="task-text">
|
||||
<a class="name ticket-popover" data-id="<%- ticket_id %>" href="<%- ticket.uiUrl() %>"><%= ticket.title %></a>
|
||||
<a class="name ticket-popover" data-id="<%- ticket_id %>" href="<%- ticket.uiUrl() %>"><%= ticket.title || '-' %></a>
|
||||
<%- @humanTime(ticket.created_at, false, 'time') %>
|
||||
</div>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue