diff --git a/src/libprs500/trac/download/download.py b/src/libprs500/trac/download/download.py index a796c9d991..a3c35fe090 100644 --- a/src/libprs500/trac/download/download.py +++ b/src/libprs500/trac/download/download.py @@ -71,6 +71,7 @@ class Distribution(object): self.os = os self.img = os self.title = self.TITLEMAP[os] + self.app = __appname__ self.is_generic = os == 'generic' offset = 0 if not self.is_generic: @@ -81,7 +82,7 @@ class Distribution(object): prefix = '' if not self.as_root: prefix = 'sudo ' cmd = prefix + self.INSTALLERS[index-2] - pre = ' \\\n '.ljust(len(cmd)+3) + pre = ' \\\n '.ljust(len(cmd)+4) for dep in self.DEPENDENCIES: if len(cmd) > 70+offset: offset += 70 @@ -169,7 +170,7 @@ class Download(Component): installer_name='Windows installer', title='Download %s for windows'%(__appname__), compatibility='%s works on Windows XP and Windows Vista.'%(__appname__,), - path='/downloads/'+file, + path='/downloads/'+file, app=__appname__, note=Markup(\ '''

If you are using the SONY PRS-500 and %(appname)s does not detect your reader, read on:

@@ -203,7 +204,7 @@ You can uninstall a driver by right clicking on it and selecting uninstall. installer_name='OS X universal dmg', title='Download %s for OS X'%(__appname__), compatibility='%s works on OS X Tiger and above.'%(__appname__,), - path='/downloads/'+file, + path='/downloads/'+file, app=__appname__, note=Markup(\ '''
    diff --git a/src/libprs500/trac/download/templates/binary.html b/src/libprs500/trac/download/templates/binary.html index 8f17e983be..c3560f8d3c 100644 --- a/src/libprs500/trac/download/templates/binary.html +++ b/src/libprs500/trac/download/templates/binary.html @@ -15,8 +15,21 @@

    $title

    $compatibility

    -

    - $installer_name (Version: $version)

    +

    + + $installer_name + (Version: $version) +

    + While you wait for the download to complete, please consider donating to support the development + of ${app}. +
    +
    + + + + +
    +

    Note

    $note
    diff --git a/src/libprs500/trac/download/templates/distro.html b/src/libprs500/trac/download/templates/distro.html index 55b28fb472..94e29b8dbd 100644 --- a/src/libprs500/trac/download/templates/distro.html +++ b/src/libprs500/trac/download/templates/distro.html @@ -42,6 +42,15 @@ + While you wait for the installation to complete, please consider donating to support the development of ${distro.app}. +
    +
    + + + + +
    +

    Post Installation

    Connect the SONY Reader to the USB port. As root, test your installation by
    prs500 info