Commit 798b43cabbd5d28ef69248a93b1b17b32373c34d
1 parent
289d7134
Exists in
master
and in
45 other branches
Adding links between portals
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Lucas Moura <lucas.moura128@gmail.com> Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
Showing
2 changed files
with
6 additions
and
5 deletions
Show diff stats
src/colab-spb-plugin/src/colab_spb/context_processors.py
src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html
1 | -{% if SISP_URL in request.META.HTTP_HOST|stringformat:"s" %} | |
2 | - {% include 'header_sisp.html' %} | |
1 | +{% if SISP_HOST in request.META.HTTP_HOST|stringformat:"s" %} | |
2 | + {% include 'header_sisp.html' with SPB_PORTAL='http://'|add:SPB_HOST %} | |
3 | 3 | {% else %} |
4 | - {% include 'header_spb.html' %} | |
4 | + {% include 'header_spb.html' with SISP_PORTAL='http://'|add:SISP_HOST %} | |
5 | 5 | {% endif %} | ... | ... |