News download: Restore article downloaded by calibre footer

This commit is contained in:
Kovid Goyal 2010-06-10 23:16:21 -06:00
parent 0ed7568ae1
commit 1dafae3c4a

View File

@ -65,6 +65,7 @@ class NavBarTemplate(Template):
text = 'This article was downloaded by ' text = 'This article was downloaded by '
p = PT(text, STRONG(__appname__), A(url, href=url), style='text-align:left') p = PT(text, STRONG(__appname__), A(url, href=url), style='text-align:left')
p[0].tail = ' from ' p[0].tail = ' from '
navbar.append(p)
navbar.append(BR()) navbar.append(BR())
navbar.append(BR()) navbar.append(BR())
else: else:
@ -111,6 +112,7 @@ class TouchscreenNavBarTemplate(Template):
text = 'This article was downloaded by ' text = 'This article was downloaded by '
p = PT(text, STRONG(__appname__), A(url, href=url), style='text-align:left') p = PT(text, STRONG(__appname__), A(url, href=url), style='text-align:left')
p[0].tail = ' from ' p[0].tail = ' from '
navbar.append(p)
navbar.append(BR()) navbar.append(BR())
navbar.append(BR()) navbar.append(BR())
else: else: