Commit a7316784418f2cc7f154de51cace601260e33d3d

Authored by Elena.Budnik
1 parent f54abb40

add LastUpdate to tooltip

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
php/classes/AmdaAction.php
... ... @@ -228,12 +228,16 @@ class AmdaAction
228 228  
229 229 if ($child->hasAttribute('dataStart') && $child->hasAttribute('dataStop')) {
230 230 $info .= "<br/>Time Range: ".$child->getAttribute('dataStart')."-".$child->getAttribute('dataStop');
  231 +
  232 + if ($child->hasAttribute('lastUpdate')) {
  233 + $info .= "<br/>Last Updated: : ".$child->getAttribute('lastUpdate');
  234 + }
231 235 }
232 236  
233 237 if ($child->getAttribute('dataStart') == 'depending on mission') {
234 238 $info .= "<br/>Time Range: ".$child->getAttribute('dataStart');
235 239 }
236   -
  240 +
237 241 // if ($child->getAttribute('restriction') > 1) {
238 242 // $restricted = $child->getAttribute('restriction');
239 243 // $info .= "<br/><b>Time Restriction</b>: -$restricted days";
... ...