comparison libervia/pages/photos/album/page_meta.py @ 1418:d6bcb0cf92d2

pages: add some labels
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 20:49:32 +0200
parents 089742e065e3
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 sat.core.i18n import D_
5 from sat.core.log import getLogger
4 from libervia.server.constants import Const as C 6 from libervia.server.constants import Const as C
5 from sat.core.log import getLogger
6 7
7 log = getLogger(__name__) 8 log = getLogger(__name__)
8 9
9 name = "photos_album" 10 name = "photos_album"
11 label = D_("Photos Album")
10 access = C.PAGES_ACCESS_PROFILE 12 access = C.PAGES_ACCESS_PROFILE
11 template = "photo/album.html" 13 template = "photo/album.html"
12 14
13 15
14 def parse_url(self, request): 16 def parse_url(self, request):