Commit a7316784418f2cc7f154de51cace601260e33d3d
1 parent
f54abb40
Exists in
master
and in
107 other branches
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,12 +228,16 @@ class AmdaAction | ||
228 | 228 | ||
229 | if ($child->hasAttribute('dataStart') && $child->hasAttribute('dataStop')) { | 229 | if ($child->hasAttribute('dataStart') && $child->hasAttribute('dataStop')) { |
230 | $info .= "<br/>Time Range: ".$child->getAttribute('dataStart')."-".$child->getAttribute('dataStop'); | 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 | if ($child->getAttribute('dataStart') == 'depending on mission') { | 237 | if ($child->getAttribute('dataStart') == 'depending on mission') { |
234 | $info .= "<br/>Time Range: ".$child->getAttribute('dataStart'); | 238 | $info .= "<br/>Time Range: ".$child->getAttribute('dataStart'); |
235 | } | 239 | } |
236 | - | 240 | + |
237 | // if ($child->getAttribute('restriction') > 1) { | 241 | // if ($child->getAttribute('restriction') > 1) { |
238 | // $restricted = $child->getAttribute('restriction'); | 242 | // $restricted = $child->getAttribute('restriction'); |
239 | // $info .= "<br/><b>Time Restriction</b>: -$restricted days"; | 243 | // $info .= "<br/><b>Time Restriction</b>: -$restricted days"; |