-
-
{{ 'iTopUpdate:UI:CurrentVersion'|dict_s }}
-
+
+
{{ 'iTopUpdate:UI:CurrentVersion'|dict_s }}
+
-
+
\ No newline at end of file
diff --git a/datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig b/datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
index 09bd5b4ed..4641f53f6 100644
--- a/datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
+++ b/datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
@@ -1,134 +1,121 @@
{# @copyright Copyright (C) 2010-2019 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
+{% UIBlock Combodo\iTop\Application\UI\Base\Component\Html\Html %}
+
+{% EndUIBlock %}
+{#
#}
-
+{#
#}
+{#
#}
\ No newline at end of file
diff --git a/datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig b/datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
index f52ac52cb..94b2cbcfa 100644
--- a/datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
+++ b/datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
@@ -10,19 +10,15 @@ $.ajax({
"operation": "CanUpdateCore"
},
dataType: "json",
- success: function(data)
- {
+ success: function (data) {
var oRequirements = $("#header-requirements");
var oCanCoreUpdate = $("#can-core-update");
oCanCoreUpdate.html(data.sMessage);
- oRequirements.removeClass("message_info");
- if (data.bStatus)
- {
- oRequirements.addClass("message_ok");
- }
- else
- {
- oRequirements.addClass("message_error");
+ oRequirements.removeClass("ibo-is-information");
+ if (data.bStatus) {
+ oRequirements.addClass("ibo-is-success");
+ } else {
+ oRequirements.addClass("ibo-is-failure");
}
}
});
diff --git a/datamodels/2.x/itop-endusers-devices/datamodel.itop-enduser-devices.xml b/datamodels/2.x/itop-endusers-devices/datamodel.itop-enduser-devices.xml
index 7b1a8d44b..a0c149621 100644
--- a/datamodels/2.x/itop-endusers-devices/datamodel.itop-enduser-devices.xml
+++ b/datamodels/2.x/itop-endusers-devices/datamodel.itop-enduser-devices.xml
@@ -1390,9 +1390,7 @@
0
Menu:ConfigManagement:EndUsers
-
1
diff --git a/datamodels/2.x/itop-incident-mgmt-itil/datamodel.itop-incident-mgmt-itil.xml b/datamodels/2.x/itop-incident-mgmt-itil/datamodel.itop-incident-mgmt-itil.xml
index e91caebd5..93a2f250e 100755
--- a/datamodels/2.x/itop-incident-mgmt-itil/datamodel.itop-incident-mgmt-itil.xml
+++ b/datamodels/2.x/itop-incident-mgmt-itil/datamodel.itop-incident-mgmt-itil.xml
@@ -482,23 +482,17 @@
-
1
HIGHLIGHT_CLASS_WARNING
-
-
2
HIGHLIGHT_CLASS_CRITICAL
-
-
3
HIGHLIGHT_CLASS_NONE
-
@@ -1958,9 +1952,7 @@
AND (I.id != :this->id)
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -1982,9 +1974,7 @@
AND (I.id != :this->id)
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2006,9 +1996,7 @@
AND (I.id != :this->id)
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2033,9 +2021,7 @@
AND (L.impact_code != 'not_impacted')
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2052,9 +2038,7 @@
AND (L.impact_code != 'not_impacted')
]]>
Tickets:Related:OpenIncidents
-
yes
diff --git a/datamodels/2.x/itop-portal-base/portal/vendor/composer/ClassLoader.php b/datamodels/2.x/itop-portal-base/portal/vendor/composer/ClassLoader.php
index 75f02a82a..bfe94b0cb 100644
--- a/datamodels/2.x/itop-portal-base/portal/vendor/composer/ClassLoader.php
+++ b/datamodels/2.x/itop-portal-base/portal/vendor/composer/ClassLoader.php
@@ -45,8 +45,8 @@ namespace Composer\Autoload;
*
* @author Fabien Potencier
* @author Jordi Boggiano
- * @see http://www.php-fig.org/psr/psr-0/
- * @see http://www.php-fig.org/psr/psr-4/
+ * @see https://www.php-fig.org/psr/psr-0/
+ * @see https://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
@@ -68,7 +68,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
- return call_user_func_array('array_merge', $this->prefixesPsr0);
+ return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}
return array();
diff --git a/datamodels/2.x/itop-request-mgmt-itil/datamodel.itop-request-mgmt-itil.xml b/datamodels/2.x/itop-request-mgmt-itil/datamodel.itop-request-mgmt-itil.xml
index 80d40074c..91ab1260f 100755
--- a/datamodels/2.x/itop-request-mgmt-itil/datamodel.itop-request-mgmt-itil.xml
+++ b/datamodels/2.x/itop-request-mgmt-itil/datamodel.itop-request-mgmt-itil.xml
@@ -534,23 +534,17 @@
-
1
HIGHLIGHT_CLASS_WARNING
-
-
2
HIGHLIGHT_CLASS_CRITICAL
-
-
3
HIGHLIGHT_CLASS_NONE
-
@@ -1880,9 +1874,7 @@
0
Organization:Overview:UserRequests
-
Menu:UserRequest:OpenRequests
SELECT UserRequest WHERE status != "closed" AND org_id=:this->id
status
@@ -1929,9 +1921,7 @@
0
Menu:RequestManagement
-
Menu:UserRequest:OpenRequests
SELECT UserRequest WHERE status != "closed"
status
diff --git a/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml b/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml
index bd5afb4a2..07fee727c 100755
--- a/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml
+++ b/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml
@@ -565,23 +565,17 @@
-
1
HIGHLIGHT_CLASS_WARNING
-
-
2
HIGHLIGHT_CLASS_CRITICAL
-
-
3
HIGHLIGHT_CLASS_NONE
-
@@ -1924,9 +1918,7 @@
0
Organization:Overview:UserRequests
-
Menu:UserRequest:OpenRequests
SELECT UserRequest WHERE status != "closed" AND org_id=:this->id
status
@@ -1973,9 +1965,7 @@
0
Menu:RequestManagement
-
Menu:UserRequest:OpenRequests
SELECT UserRequest WHERE status != "closed"
status
@@ -2149,9 +2139,7 @@
AND (R.id != :this->id)
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2175,9 +2163,7 @@
AND (R.id != :this->id)
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2204,9 +2190,7 @@
AND (L.impact_code != 'not_impacted')
]]>
Tickets:Related:OpenIncidents
-
yes
@@ -2225,9 +2209,7 @@
AND (L.impact_code != 'not_impacted')
]]>
Tickets:Related:OpenIncidents
-
yes
diff --git a/datamodels/2.x/itop-service-mgmt-provider/data.sample.servicefamilies.xml b/datamodels/2.x/itop-service-mgmt-provider/data.sample.servicefamilies.xml
index 388b8ab8f..7f956f030 100644
--- a/datamodels/2.x/itop-service-mgmt-provider/data.sample.servicefamilies.xml
+++ b/datamodels/2.x/itop-service-mgmt-provider/data.sample.servicefamilies.xml
@@ -2,7 +2,6 @@
IT Services
-
\ No newline at end of file
diff --git a/datamodels/2.x/itop-service-mgmt-provider/data.sample.services.xml b/datamodels/2.x/itop-service-mgmt-provider/data.sample.services.xml
index ca6a9e24f..19ffcfce9 100755
--- a/datamodels/2.x/itop-service-mgmt-provider/data.sample.services.xml
+++ b/datamodels/2.x/itop-service-mgmt-provider/data.sample.services.xml
@@ -6,7 +6,6 @@
3
Ordering of new hardware (Desktop computer, laptop computer, monitor, mouse, keyboard...) and support in case of hardware failure.
production
-
Software
@@ -22,7 +20,6 @@
3
Management of computer software and applications. Installation, upgrade, troubleshooting and removal of software.
production
-
Telecom and connectivity
@@ -38,7 +34,6 @@
3
Ordering and configuration of new mobile phones, computer connectivity requests, cabling, etc...
production
-
diff --git a/datamodels/2.x/itop-service-mgmt/data.sample.servicefamilies.xml b/datamodels/2.x/itop-service-mgmt/data.sample.servicefamilies.xml
index 29c0a1cad..f54d811ea 100644
--- a/datamodels/2.x/itop-service-mgmt/data.sample.servicefamilies.xml
+++ b/datamodels/2.x/itop-service-mgmt/data.sample.servicefamilies.xml
@@ -2,7 +2,6 @@
IT Services
-
diff --git a/datamodels/2.x/itop-service-mgmt/data.sample.services.xml b/datamodels/2.x/itop-service-mgmt/data.sample.services.xml
index ca6a9e24f..19ffcfce9 100755
--- a/datamodels/2.x/itop-service-mgmt/data.sample.services.xml
+++ b/datamodels/2.x/itop-service-mgmt/data.sample.services.xml
@@ -6,7 +6,6 @@
3
Ordering of new hardware (Desktop computer, laptop computer, monitor, mouse, keyboard...) and support in case of hardware failure.
production
-
Software
@@ -22,7 +20,6 @@
3
Management of computer software and applications. Installation, upgrade, troubleshooting and removal of software.
production
-
Telecom and connectivity
@@ -38,7 +34,6 @@
3
Ordering and configuration of new mobile phones, computer connectivity requests, cabling, etc...
production
-
diff --git a/datamodels/2.x/itop-virtualization-mgmt/datamodel.itop-virtualization-mgmt.xml b/datamodels/2.x/itop-virtualization-mgmt/datamodel.itop-virtualization-mgmt.xml
index e868c621b..02e31f945 100644
--- a/datamodels/2.x/itop-virtualization-mgmt/datamodel.itop-virtualization-mgmt.xml
+++ b/datamodels/2.x/itop-virtualization-mgmt/datamodel.itop-virtualization-mgmt.xml
@@ -901,9 +901,7 @@
0
Menu:ConfigManagement:virtualization
-
1
diff --git a/datamodels/2.x/itop-welcome-itil/datamodel.itop-welcome-itil.xml b/datamodels/2.x/itop-welcome-itil/datamodel.itop-welcome-itil.xml
index 5a2528a9a..dcb7e1587 100644
--- a/datamodels/2.x/itop-welcome-itil/datamodel.itop-welcome-itil.xml
+++ b/datamodels/2.x/itop-welcome-itil/datamodel.itop-welcome-itil.xml
@@ -14,9 +14,7 @@
0
Menu:ConfigManagementCI
-
3