Merge pull request 'bug fix with portal and return icons' (#58) from v3.0 into master

Reviewed-on: cloud/cms#58
master
Steve L. Nyemba 4 weeks ago
commit 4f1b8a1f51

@ -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