Commit b55c778b08eb7d8283a1949807e8fffe45024c4d

Authored by Macartur Sousa
Committed by Alexandre Barbosa
1 parent 9f36ac94
Exists in sisp_colab_config

Using context_processors on header

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
src/colab-spb-theme-plugin/colab_spb_theme/templates/footer.html
1   -{% if 'sisp.gov.br' in request.META.HTTP_HOST|stringformat:"s" %}
  1 +{% if SISP_HOST in request.META.HTTP_HOST|stringformat:"s" %}
2 2 {% include 'footer_sisp.html' %}
3 3 {% else %}
4 4 {% include 'footer_spb.html' %}
... ...
src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html
1   -{% if 'sisp.gov.br' in request.META.HTTP_HOST|stringformat:"s" %}
  1 +{% if SISP_URL in request.META.HTTP_HOST|stringformat:"s" %}
2 2 {% include 'header_sisp.html' %}
3 3 {% else %}
4 4 {% include 'header_spb.html' %}
... ...