mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
News download: Restore article downloaded by calibre footer
This commit is contained in:
parent
0ed7568ae1
commit
1dafae3c4a
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user