handle documents without number
This commit is contained in:
parent
ae61d19730
commit
f0fee5a247
|
@ -62,6 +62,8 @@ class Document(Item, BasePublication):
|
|||
|
||||
@property
|
||||
def reftitle(self):
|
||||
if not self.no:
|
||||
return '%s (%s)' % (self.doctype_str, self.session)
|
||||
if self.nodoc:
|
||||
if self.noannexe:
|
||||
return u'%s - %s (%s) - N° %s (Annexe %s)' % (
|
||||
|
|
Reference in New Issue