add static width to ticket create row

to prevent double lines
This commit is contained in:
Felix Niklas 2014-10-08 12:14:29 +02:00
parent fdef55a32e
commit 436a4efb15
2 changed files with 3 additions and 3 deletions

View file

@ -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: 'escalation_time', display: 'Escalation', type: 'time', null: true, style: 'width: 12%', class: 'escalation', parentClass: 'noTruncate' },
{ name: 'article_count', display: 'Article#', style: 'width: 12%' }, { name: 'article_count', display: 'Article#', style: 'width: 12%' },
{ name: 'created_by_id', display: 'Created by', relation: 'User', readonly: 1 }, { 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_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: -> uiUrl: ->

View file

@ -16,7 +16,7 @@
<th <% if item.style: %>style="<%= item.style %>"<% end %>><%- @T( item.display ) %></th> <th <% if item.style: %>style="<%= item.style %>"<% end %>><%- @T( item.display ) %></th>
<% end %> <% end %>
<% if @destroy: %> <% if @destroy: %>
<th class="span2"><%- @T('Delete') %></th> <th><%- @T('Delete') %></th>
<% end %> <% end %>
</tr> </tr>
</thead> </thead>