From 436a4efb15cf09b8ad07abf6c34ca98c787f156f Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 8 Oct 2014 12:14:29 +0200 Subject: [PATCH] add static width to ticket create row to prevent double lines --- app/assets/javascripts/app/models/ticket.js.coffee | 4 ++-- app/assets/javascripts/app/views/generic/table.jst.eco | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/models/ticket.js.coffee b/app/assets/javascripts/app/models/ticket.js.coffee index d16599846..d9cd96d62 100644 --- a/app/assets/javascripts/app/models/ticket.js.coffee +++ b/app/assets/javascripts/app/models/ticket.js.coffee @@ -19,9 +19,9 @@ class App.Ticket extends App.Model { name: 'escalation_time', display: 'Escalation', type: 'time', null: true, style: 'width: 12%', class: 'escalation', parentClass: 'noTruncate' }, { name: 'article_count', display: 'Article#', style: 'width: 12%' }, { name: 'created_by_id', display: 'Created by', relation: 'User', readonly: 1 }, - { name: 'created_at', display: 'Created', type: 'time', style: 'width: 12%', readonly: 1, parentClass: 'noTruncate' }, + { name: 'created_at', display: 'Created', type: 'time', style: 'width: 90px', readonly: 1, parentClass: 'noTruncate' }, { name: 'updated_by_id', display: 'Updated by', relation: 'User', readonly: 1 }, - { name: 'updated_at', display: 'Updated', type: 'time', style: 'width: 12%', readonly: 1, parentClass: 'noTruncate' }, + { name: 'updated_at', display: 'Updated', type: 'time', style: 'width: 90px', readonly: 1, parentClass: 'noTruncate' }, ] uiUrl: -> diff --git a/app/assets/javascripts/app/views/generic/table.jst.eco b/app/assets/javascripts/app/views/generic/table.jst.eco index 9e345928b..1a324f996 100644 --- a/app/assets/javascripts/app/views/generic/table.jst.eco +++ b/app/assets/javascripts/app/views/generic/table.jst.eco @@ -16,7 +16,7 @@ style="<%= item.style %>"<% end %>><%- @T( item.display ) %> <% end %> <% if @destroy: %> - <%- @T('Delete') %> + <%- @T('Delete') %> <% end %>