def webpush_head_script(context): template_context = get_templatetag_context(context) return template_context
def webpush_button_custom(context): template_context = get_templatetag_context(context) return template_context
def webpush_head_worker(context): template_context = get_templatetag_context(context) return template_context
def webpush_head_vapid(context): template_context = get_templatetag_context(context) return template_context
def webpush_button(context, with_class=None): template_context = get_templatetag_context(context) if with_class: template_context['class'] = with_class return template_context
def webpush_switch(context): template_context = get_templatetag_context(context) return template_context
def webpush_button(self, context): template_context = get_templatetag_context(context) data = render_to_string('webpush_button.html', template_context, using='django') return mark_safe(data)
def webpush_button(self, context): template_context = get_templatetag_context(context) data = render_to_string('webpush_button.html', template_context, using='django') return mark_safe(data)
def webpush_button(context): template_context = get_templatetag_context(context) return template_context
def webpush_header(context): template_context = get_templatetag_context(context) return template_context
def webpush_button(self, context, with_class=None): template_context = get_templatetag_context(context) if with_class: template_context['class'] = with_class data = render_to_string('webpush_button.html', template_context, using='django') return mark_safe(data)