Switch to unified view
a/Allura/allura/model/discuss.py | b/Allura/allura/model/discuss.py | ||
---|---|---|---|
... |
... |
||
402 | def shorthand_id(self): |
402 | def shorthand_id(self): |
403 | if self.thread: |
403 | if self.thread: |
404 | return '%s#%s' % (self.thread.shorthand_id(), self.slug) |
404 | return '%s#%s' % (self.thread.shorthand_id(), self.slug) |
405 | else: # pragma no cover |
405 | else: # pragma no cover |
406 | return None |
406 | return None |
407 | |||
408 | def link_text(self): |
||
409 | return self.subject |
||
407 | 410 | ||
408 | def reply_subject(self): |
411 | def reply_subject(self): |
409 | if self.subject and self.subject.lower().startswith('re:'): |
412 | if self.subject and self.subject.lower().startswith('re:'): |
410 | return self.subject |
413 | return self.subject |
411 | else: |
414 | else: |