{# this macro needs to be included "with context" valid and accessable vars needed: request conf csrf_input #} {% macro fav(fav_id, fav_type, fav_is, color="transparent", next=request.get_full_path() ) -%} {% if not archive_mode %}
{{ csrf_input }} {%- if fav_is %} {%- else -%} {% endif -%}
{% endif %} {%- endmacro %} {% macro schedule(sch_id, sch_is, color="transparent", next=request.get_full_path() ) -%} {% if not archive_mode %}
{{ csrf_input }} {%- if sch_is %} {%- else -%} {% endif -%}
{% endif %} {%- endmacro %} {% macro share(view_name, title=_("share this "), color="transparent") -%} {%- endmacro %} {% macro stream(stream_url, title=_("open stream"), color="transparent" ) -%} {%- endmacro %} # {% macro report(report_url=none, kind=none, next=none, lookup_key=none, title=_("report this url"), color="transparent" ) -%} {% if not archive_mode %} {% endif %} {%- endmacro %} {% macro edit(edit, title=_("edit this"), color="transparent" ) -%} {% if not archive_mode %} {% endif %} {%- endmacro %}