This commit is contained in:
Kovid Goyal 2008-09-19 20:27:58 -07:00
parent 50b28e70a7
commit 8cd53370d5
2 changed files with 7 additions and 2 deletions

View File

@ -143,7 +143,7 @@ class Download(Component):
]
data = dict(title='Get ' + __appname__,
operating_systems=operating_systems, width=200,
font_size='xx-large')
font_size='xx-large', top_level=True)
return 'download.html', data, None
def version_from_filename(self):
@ -236,6 +236,6 @@ If not, head over to <a href="http://calibre.kovidgoyal.net/wiki/Development#Tra
OS({'name' : 'generic','title': 'Install from source', 'img':'linux'}),
]
data = dict(title='Choose linux distribution', width=100,
operating_systems=operating_systems, font_size='x-large')
operating_systems=operating_systems, font_size='x-large', top_level=False)
return 'download.html', data, None

View File

@ -11,6 +11,11 @@
<body>
<div id="ctxtnav" class="nav"></div>
<p py:if="not top_level">If you have a 64bit computer, or an outdated operating system, the distribution
specific installation may not work for you. In that case, first try the binary installer.
If that also does not work, your only recourse is to try to install from source. In order
to do that you will have to install all the dependencies as well as the -dev package of PyQt4.
</p>
<div id="content" class="download">
<h1>$title</h1>