Use the notebook name as the page title if necessary.
This commit is contained in:
parent
cf8ff91f27
commit
c11cf6f43d
|
@ -77,7 +77,7 @@ class Main_page( Page ):
|
||||||
if len( notes ) == 1:
|
if len( notes ) == 1:
|
||||||
title = notes[ 0 ].title
|
title = notes[ 0 ].title
|
||||||
else:
|
else:
|
||||||
title = None
|
title = notebook.name
|
||||||
|
|
||||||
if rate_plan.get( u"notebook_sharing" ):
|
if rate_plan.get( u"notebook_sharing" ):
|
||||||
updates_path = u"/notebooks/updates/%s?rss&%s" % (
|
updates_path = u"/notebooks/updates/%s?rss&%s" % (
|
||||||
|
|
Reference in New Issue