Line | |
---|
1 | {strip}
|
---|
2 | new Listview({ldelim}
|
---|
3 | template:'zone',
|
---|
4 | id:'fished-in',
|
---|
5 | {if $name}name: LANG.tab_{$name}{/if},
|
---|
6 | tabs:tabsRelated,
|
---|
7 | parent:'listview-generic',
|
---|
8 | hiddenCols: ['instancetype', 'level', 'territory', 'category'],
|
---|
9 | extraCols: [Listview.extraCols.percent],
|
---|
10 | sort:['-percent', 'name'],
|
---|
11 | data:[
|
---|
12 | {section name=i loop=$data}
|
---|
13 | {ldelim}
|
---|
14 | id: '{$data[i].id}',
|
---|
15 | name: '{$data[i].name|escape:"quotes"}',
|
---|
16 | percent: {$data[i].percent}
|
---|
17 | {rdelim}
|
---|
18 | {if $smarty.section.i.last}{else},{/if}
|
---|
19 | {/section}
|
---|
20 | ]
|
---|
21 | {rdelim});
|
---|
22 | {/strip}
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.