comparison libervia/pages/events/rsvp/page_meta.py @ 1418:d6bcb0cf92d2

pages: add some labels
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 20:49:32 +0200
parents f511f8fbbf8a
children 106bae41f5c8
comparison
equal deleted inserted replaced
1417:314bba1ae433 1418:d6bcb0cf92d2
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 2
3 3
4 from libervia.server.constants import Const as C 4 from libervia.server.constants import Const as C
5 from sat.core.i18n import _ 5 from sat.core.i18n import _, D_
6 from twisted.internet import defer 6 from twisted.internet import defer
7 from twisted.words.protocols.jabber import jid 7 from twisted.words.protocols.jabber import jid
8 from sat.core.log import getLogger 8 from sat.core.log import getLogger
9 from sat.tools.common.template import safe 9 from sat.tools.common.template import safe
10 import time 10 import time
11 import html 11 import html
12 12
13 """creation of new events""" 13 """creation of new events"""
14 14
15 name = "event_rsvp" 15 name = "event_rsvp"
16 label = D_("Event Invitation")
16 access = C.PAGES_ACCESS_PROFILE 17 access = C.PAGES_ACCESS_PROFILE
17 template = "event/invitation.html" 18 template = "event/invitation.html"
18 log = getLogger(__name__) 19 log = getLogger(__name__)
19 20
20 21