Commit dc71d32313f27ebd5bb660c53ed6773496e20f30

Authored by Macartur Sousa
Committed by David Silva
1 parent 8b3910d5

Using context_processors on header

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
(cherry picked from commit b775b1b5a1d720adea2baf702fba1b8c3c6d232a)
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' %}
... ...