bug fix with portal and return icons

v3.0
Steve Nyemba 4 weeks ago
parent 001265060f
commit 2697bea668

@ -165,7 +165,8 @@ class Initialization (IOConfig):
# #
# updating the configuratioin # updating the configuratioin
_iconURI = '/'.join(["",_parentContext,self._caller.get('system.icon')]) _iconURI = '/'.join(["",_parentContext,self._caller.get('system.icon')])
if _iconURI.startswith("//") :
_iconURI = _iconURI[1:]
if self._caller.get('system.context') != '': if self._caller.get('system.context') != '':
_parentContext = "/"+_parentContext _parentContext = "/"+_parentContext
_context = "/"+_context _context = "/"+_context

@ -5,6 +5,7 @@
{% else %} {% else %}
{% set _backURI = system.parentContext%} {% set _backURI = system.parentContext%}
{% endif %} {% endif %}
<div class="icon" style="margin:0px" > <div class="icon" style="margin:0px" >
<div align="left" class="back-button active" onclick="window.open('{{_backURI}}','_self')" > <div align="left" class="back-button active" onclick="window.open('{{_backURI}}','_self')" >
<div style="display:grid; align-items:center; grid-template-columns: auto auto;"> <div style="display:grid; align-items:center; grid-template-columns: auto auto;">

Loading…
Cancel
Save