Changeset 11486


Ignore:
Timestamp:
Dec 5, 2010, 7:08:07 PM (12 years ago)
Author:
charles
Message:

(2.0x web) backport r11309 and r11317 for #3630 "Add a link to the Transmission homepage inside the web client"

Location:
branches/2.0x/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/web/index.html

    r10497 r11486  
    400400                                <li id="button">&nbsp;
    401401                                        <ul id="footer_super_menu">
     402                                                <li id="homepage">Transmission Homepage</li>
     403                                                <li id="tipjar">Transmission Tip Jar</li>
     404                                                <li class="separator"></li>
    402405                                                <li id="preferences">Preferences</li>
    403406                                                <li id="statistics">Statistics</li>
  • branches/2.0x/web/javascript/transmission.js

    r10870 r11486  
    11181118        {
    11191119                this._last_torrent_clicked = torrent;
     1120                                }
     1121                                else if ($element[0].id == 'homepage') {
     1122                                        window.open('http://www.transmissionbt.com/');
     1123                                }
     1124                                else if ($element[0].id == 'tipjar') {
     1125                                        window.open('http://www.transmissionbt.com/donate.php');
    11201126        },
    11211127
Note: See TracChangeset for help on using the changeset viewer.