Fundraising in PDF.
[librarian.git] / src / librarian / elements / front / base.py
1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from ..base import WLElement
5
6
7 class HeaderElement(WLElement):
8     HTML_TAG = 'span'
9     SHOULD_HAVE_ID = True
10     
11     def txt_build(self, builder):
12         builder.enter_fragment('header')
13         super(HeaderElement, self).txt_build(builder)
14         builder.exit_fragment()
15
16     def html_build(self, builder):
17         builder.enter_fragment('header')
18         super(HeaderElement, self).html_build(builder)
19         builder.exit_fragment()