From a7316784418f2cc7f154de51cace601260e33d3d Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Fri, 22 Feb 2019 11:42:47 +0100
Subject: [PATCH] add LastUpdate to tooltip

---
 php/classes/AmdaAction.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/php/classes/AmdaAction.php b/php/classes/AmdaAction.php
index 876007c..dd975e9 100644
--- a/php/classes/AmdaAction.php
+++ b/php/classes/AmdaAction.php
@@ -228,12 +228,16 @@ class AmdaAction
 
 								if ($child->hasAttribute('dataStart') && $child->hasAttribute('dataStop')) {
 									$info .= "<br/>Time Range: ".$child->getAttribute('dataStart')."-".$child->getAttribute('dataStop');
+									
+									if ($child->hasAttribute('lastUpdate')) {
+										$info .= "<br/>Last Updated: : ".$child->getAttribute('lastUpdate');
+									}
 								}
 
 								if ($child->getAttribute('dataStart') == 'depending on mission') {
 									$info .= "<br/>Time Range: ".$child->getAttribute('dataStart');
 								}
-
+	
 // 								if ($child->getAttribute('restriction') > 1) {
 // 									$restricted  = $child->getAttribute('restriction');
 // 									$info .= "<br/><b>Time Restriction</b>: -$restricted days";
--
libgit2 0.21.2