diff --git a/app/assets/javascripts/app/views/generic/table.jst.eco b/app/assets/javascripts/app/views/generic/table.jst.eco index 5e0bbc2c2..ea1ce0b1b 100644 --- a/app/assets/javascripts/app/views/generic/table.jst.eco +++ b/app/assets/javascripts/app/views/generic/table.jst.eco @@ -1,5 +1,5 @@
-"> +
<% if @sortable: %> @@ -19,14 +19,10 @@ <% end %> <% for header, i in @headers: %> -
<%= " align-#{ header.align }" if header.align %>" style="<% if header.displayWidth: %>width:<%= header.displayWidth %>px<% end %>" data-column-key="<%= header.name %>"> +
<%- @T(header.display) %>
-
- <% if header.sortOrderIcon: %> - <%- @Icon(header.sortOrderIcon[0], header.sortOrderIcon[1]) %> - <% end %> -
+
<% if header.sortOrderIcon: %><%- @Icon(header.sortOrderIcon[0], header.sortOrderIcon[1]) %><% end %>
<% if @tableId && !header.unresizable && i < @headers.length - 1: %>
diff --git a/app/assets/javascripts/app/views/generic/table_row.jst.eco b/app/assets/javascripts/app/views/generic/table_row.jst.eco index 711fda2eb..c414bca04 100644 --- a/app/assets/javascripts/app/views/generic/table_row.jst.eco +++ b/app/assets/javascripts/app/views/generic/table_row.jst.eco @@ -31,7 +31,7 @@ <% end %> <% end %> <% end %> - <%- " title='#{ header.title }'" if header.title %><%- " style='text-align:#{ header.align }'" if header.align %>> + class="<%= header.parentClass %>"<% end %><% if header.title: %> title="<%= header.title %>"<% end %><% if header.align: %> style="text-align:<%= header.align %>"<% end %>> <% if header.name is 'icon': %> <%- @Icon('task-state', header.class) %> <% else if header.icon: %>