1- <table class =" table table-hover table-bordered table-sortable table-striped table-condensed" >
2- <thead >
3- <tr >
4- <th >{ t} Zeitstempel{ /t} </th >
5- <th >{ t} Ereignis{ /t} </th >
6- <th >{ t} Benutzer{ /t} </th >
7- <th >{ t} Nachricht{ /t} </th >
8- <th >{ t} Neue Anzahl der Bauteile{ /t} </th >
9- <th >{ t} Betrag{ /t} </th >
10- </tr >
11- </thead >
12- <tbody >
13- { foreach $history as $entry }
1+ <div class =" table-responsive" >
2+ <table class =" table table-hover table-bordered table-sortable table-striped table-condensed" >
3+ <thead >
144 <tr >
15- <td >{ $entry .timestamp_formatted} </td >
16- <td >{ $entry .type_text} </td >
17- <td >{ if isset($entry .user_link)} <a href =" { $entry .user_link} " >{ $entry .user_name} </a >{ else } { $entry .user_name} { /if } </td >
18- <td >{ if isset($entry .message)} { $entry .message} { /if } </td >
19- <td >
20- { if isset($entry .instock)} { $entry .instock}
21- { if isset($entry .difference)}
22- <span class =" { if $entry .difference > 0} text-success{ else } text-danger{ /if } " >({ $entry .difference} )</span >
23- { /if }
24- { /if }
25- </td >
26- <td >{ if isset($entry .price_string)} { $entry .price_string} { /if } </td >
5+ <th >{ t} Zeitstempel{ /t} </th >
6+ <th >{ t} Ereignis{ /t} </th >
7+ <th >{ t} Benutzer{ /t} </th >
8+ <th >{ t} Nachricht{ /t} </th >
9+ <th >{ t} Neue Anzahl der Bauteile{ /t} </th >
10+ <th >{ t} Betrag{ /t} </th >
2711 </tr >
28- { /foreach }
29- </tbody >
30- </table >
12+ </thead >
13+ <tbody >
14+ { foreach $history as $entry }
15+ <tr >
16+ <td >{ $entry .timestamp_formatted} </td >
17+ <td >{ $entry .type_text} </td >
18+ <td >{ if isset($entry .user_link)} <a href =" { $entry .user_link} " >{ $entry .user_name} </a >{ else } { $entry .user_name} { /if } </td >
19+ <td >{ if isset($entry .message)} { $entry .message} { /if } </td >
20+ <td >
21+ { if isset($entry .instock)} { $entry .instock}
22+ { if isset($entry .difference)}
23+ <span class =" { if $entry .difference > 0} text-success{ else } text-danger{ /if } " >({ $entry .difference} )</span >
24+ { /if }
25+ { /if }
26+ </td >
27+ <td >{ if isset($entry .price_string)} { $entry .price_string} { /if } </td >
28+ </tr >
29+ { /foreach }
30+ </tbody >
31+ </table >
32+ </div >
0 commit comments