Dynamic sorting for theme Sparkle

This commit is contained in:
BNoiZe
2013-10-05 18:15:31 +02:00
parent 939c1950ea
commit 08e9f3ebd0
27 changed files with 291 additions and 89 deletions

View File

@@ -22,13 +22,13 @@ $header
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $categories_count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['ticket']['category']}&nbsp;{$arrowcode['name']}</th>
<th>{$lng['ticket']['logicalorder']}&nbsp;{$arrowcode['logicalorder']}</th>
<th>{$lng['ticket']['ticketcount']}&nbsp;<if $categories_count < 0 >{$arrowcode['ticketcount']}</if></th>
<th>{$lng['panel']['options']}</th>
<th>{$lng['ticket']['category']}</th>
<th>{$lng['ticket']['logicalorder']}</th>
<th>{$lng['ticket']['ticketcount']}</if></th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>

View File

@@ -22,16 +22,16 @@ $header
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $tickets_count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['ticket']['lastchange']}&nbsp;{$arrowcode['lastchange']}</th>
<th>{$lng['ticket']['ticket_answers']}&nbsp;{$arrowcode['ticket_answers']}</th>
<th>{$lng['ticket']['subject']}&nbsp;{$arrowcode['subject']}</th>
<th>{$lng['ticket']['status']}&nbsp;{$arrowcode['status']}</th>
<th>{$lng['ticket']['lastreplier']}&nbsp;{$arrowcode['lastreplier']}</th>
<th>{$lng['ticket']['priority']}&nbsp;{$arrowcode['priority']}</th>
<th>{$lng['panel']['options']}</th>
<th>{$lng['ticket']['lastchange']}</th>
<th>{$lng['ticket']['ticket_answers']}</th>
<th>{$lng['ticket']['subject']}</th>
<th>{$lng['ticket']['status']}</th>
<th>{$lng['ticket']['lastreplier']}</th>
<th>{$lng['ticket']['priority']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>