Ticket #241 (new enhancement)

Opened 2 months ago

Last modified 1 month ago

Show torrent state

Reported by: eugene20237@gmail.com Assigned to: royger
Priority: major Component: wTorrent
Version: HEAD Keywords: state
Cc:

Description

I have modificated cell.tpl.php for viewing torrent states.

How to show state of torrents: wt/tpl/list/cell.tpl.php line 20:

<th class="name {$color}" colspan="2">

{$web->getName($hash)|truncate:100:"...":true}

</th>

<td style='text-align: left; font-weight: normal;' colspan="2">

{if $web->getTstate($hash) eq 'message'}

<span style='color: #FF0000;'>

Error!

<span>

{else}

{if $web->getTstate($hash) eq 'downloading'}

<span style='color: #008000;'>

<i>{$web->getTstate($hash)}</i>

<span>

{else}

{if $web->getTstate($hash) eq 'seeding'}

<span style='color: #0030FF;'>

<i>{$web->getTstate($hash)}</i>

<span>

{/if}

{/if}

{/if}

</td>

Please, add this functionallity to wtorrent.

Attachments

cell.tpl.php (2.9 kB) - added by eugene20237@gmail.com on 15/11/08 10:41:20.
cell.tpl.php with state modification

Change History

15/11/08 10:41:20 changed by eugene20237@gmail.com

  • attachment cell.tpl.php added.

cell.tpl.php with state modification

(in reply to: ↑ description ) 09/12/08 23:05:18 changed by anonymous

Replying to eugene20237@gmail.com:

I have modificated cell.tpl.php for viewing torrent states. How to show state of torrents: wt/tpl/list/cell.tpl.php line 20: <th class="name {$color}" colspan="2"> {$web->getName($hash)|truncate:100:"...":true} </th> <td style='text-align: left; font-weight: normal;' colspan="2"> {if $web->getTstate($hash) eq 'message'} <span style='color: #FF0000;'> Error! <span> {else} {if $web->getTstate($hash) eq 'downloading'} <span style='color: #008000;'> <i>{$web->getTstate($hash)}</i> <span> {else} {if $web->getTstate($hash) eq 'seeding'} <span style='color: #0030FF;'> <i>{$web->getTstate($hash)}</i> <span> {/if} {/if} {/if} </td> Please, add this functionallity to wtorrent.


Add/Change #241 (Show torrent state)