diff --git a/core/displayablegraph.class.inc.php b/core/displayablegraph.class.inc.php index 8d249308b..d17b6044d 100644 --- a/core/displayablegraph.class.inc.php +++ b/core/displayablegraph.class.inc.php @@ -1446,8 +1446,7 @@ class DisplayableGraph extends SimpleGraph <<
-

$sSftShort$sSftShort

+

$sSftShort$sSftShort

EOF ); diff --git a/datamodels/2.x/itop-hub-connector/js/hub.js b/datamodels/2.x/itop-hub-connector/js/hub.js index c7e056f4e..cf0cf66b8 100644 --- a/datamodels/2.x/itop-hub-connector/js/hub.js +++ b/datamodels/2.x/itop-hub-connector/js/hub.js @@ -171,8 +171,7 @@ $(function() }, _reportError: function(sMessage) { - $('#hub-installation-progress-text').html(' '+this.options.labels.rollback+'
'+sMessage+''); + $('#hub-installation-progress-text').html(' '+this.options.labels.rollback+'
'+sMessage+''); $('#hub_start_installation').val('Go Back to iTop'); $('#hub_start_installation').prop('disabled', false); $('#hub-installation-progress').hide(); diff --git a/datamodels/2.x/itop-portal-base/portal/templates/errors/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/templates/errors/layout.html.twig index ab92c7cbd..a9a54506c 100644 --- a/datamodels/2.x/itop-portal-base/portal/templates/errors/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/templates/errors/layout.html.twig @@ -42,11 +42,9 @@

{{ error_message }}

{{ 'Error:HTTP:GetHelp'|dict_format(constant('ITOP_APPLICATION_SHORT')) }}

- {{ - 'Page:GoPreviousPage'|dict_s }} + {{ 'Page:GoPreviousPage'|dict_s }} {{ 'Page:ReloadPage'|dict_s }} - {{ - 'Page:GoPortalHome'|dict_s }} + {{ 'Page:GoPortalHome'|dict_s }}

diff --git a/datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig index b7b5a1871..d3c7c2297 100644 --- a/datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig @@ -210,8 +210,7 @@ {% endblock %} {% if bUserConnected %} -
  • {{ 'Brick:Portal:UserProfile:Navigation:Dropdown:MyProfil'|dict_s }}
  • +
  • {{ 'Brick:Portal:UserProfile:Navigation:Dropdown:MyProfil'|dict_s }}
  • {% for aPortal in app['combodo.portal.instance.conf'].portals %} {% if aPortal.id != app['combodo.portal.instance.conf'].properties.id %} {% set sIconClass = (aPortal.id == 'backoffice') ? 'far fa-list-alt' : 'fas fa-external-link-alt' %} @@ -222,9 +221,7 @@ {% if app['combodo.portal.instance.conf'].portals|length > 1 %} {% endif %} -
  • {{ 'Brick:Portal:UserProfile:Navigation:Dropdown:Logout'|dict_s - }}
  • +
  • {{ 'Brick:Portal:UserProfile:Navigation:Dropdown:Logout'|dict_s }}
  • {% endif %}
    @@ -252,12 +249,10 @@ diff --git a/js/search/search_form_criteria.js b/js/search/search_form_criteria.js index 3607c6cbc..2dd528ef0 100644 --- a/js/search/search_form_criteria.js +++ b/js/search/search_form_criteria.js @@ -379,8 +379,7 @@ $(function() // Prepare base DOM structure this.element - .append('
    ') + .append('
    ') .append('
    '); // Bind events @@ -490,10 +489,8 @@ $(function() .append('') .append('') .append('') - .append('') - .append(''); + .append('') + .append(''); // Events this.element.find('.sfc_fg_button').on('click', function(oEvent){ diff --git a/pages/schema.php b/pages/schema.php index 20e569b07..c9d6348e2 100644 --- a/pages/schema.php +++ b/pages/schema.php @@ -498,7 +498,7 @@ function DisplayRelatedClassesGraph($oPage, $sClass) EOF ); $oPage->add_ready_script( - <<' + d['tooltip_data']['class'] + ' ' + divD3.html( '
    ' + d['tooltip_data']['class'] + '
    ' + ( (d.related_position < 0) ? d['tooltip_data']['to_remote'] : d['tooltip_data']['to_me'] ) + '
    ' - + ( (d.related_position < 0) ? d['tooltip_data']['to_me'] : d['tooltip_data']['to_remote'] ) + '
    '); + + ( (d.related_position < 0) ? d['tooltip_data']['to_me'] : d['tooltip_data']['to_remote'] ) + '
    '); }) .on('mouseout',function(d){ divD3.transition() @@ -762,7 +760,7 @@ field.filter(function(d) { .attr("xlink:href", function(d, i) { return d.icon }) .attr("transform", "translate(-12, -24)"); -EOF +JS ); } catch(Exception $e)