Transmission Web – Fix not rendered arrows – ↑ ↓

Transmission web interface may not properly rendered arrows for upload/download.

There are may many fixes around and I have tried many, but none of them didn’t really worked for me.

But the next did the trick. Edit the file:

sudo nano /usr/share/transmission/web/javascript/torrent-row.js

Find next line and that contain html escape characters ↑ and ↓

TorrentRendererHelper.formatUL = function(t)
 {
  return '↑ ' + Transmission.fmt.speedBps(t.getUploadSpeed());
 };
 
 TorrentRendererHelper.formatDL = function(t)
 {
  return '↓ ' + Transmission.fmt.speedBps(t.getDownloadSpeed());;
 };

and change it to:

 TorrentRendererHelper.formatUL = function(t)
 {
  return '▲ ' + Transmission.fmt.speedBps(t.getUploadSpeed());
 };
 
 TorrentRendererHelper.formatDL = function(t)
 {
  return '▼ ' + Transmission.fmt.speedBps(t.getDownloadSpeed());
 };

 

Advertisements

2 thoughts on “Transmission Web – Fix not rendered arrows – ↑ ↓”

  1. Thanks for this. I wasn’t able to paste in the fun characters I hoped to from Copy Paste Character – they just showed up as diamonds with questionmarks in them and such – so I had to put in ^ and v in the meantime. How were you able to get those symbols saved and used in the file?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s