Commit 94ab65de by Kálmán Viktor

request: add decline notification

parent d09f8aef
......@@ -126,6 +126,16 @@ class Request(TimeStampedModel):
self.reason = reason
decline_msg = ugettext_noop(
'Your <a href="%(url)s">request</a> was declined because of the '
'following reason: %(reason)s'
ugettext_noop("Request declined"),
decline_msg, url=self.get_absolute_url(), reason=self.reason,
class LeaseType(RequestType):
lease = ForeignKey(Lease, verbose_name=_("Lease"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment