Commit f4ca7ea30893989e30a99d6aec0977ec7a98b712

Authored by Myriam Bouchemit
2 parents 3993a03b e3dab642

Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM

Showing 2 changed files with 11 additions and 2 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";
... ...
update_amda/updateAmda
... ... @@ -101,7 +101,7 @@
101 101 cp $RemoteData/PARAMS/* $PARAMS_LOCALDB_DIR/
102 102 fi
103 103 fi
104   - # Update StartStop only
  104 + # Update StartStop & Help only
105 105 if [ $UPDATE ]
106 106 then
107 107 echo "Updating...."
... ... @@ -114,6 +114,11 @@
114 114 fi
115 115  
116 116 echo 'update in NEWMETA/dd_missions: done'
  117 + echo 'update in NEWMETA/help: done'
  118 +
  119 + cp $NEWMETA/help/* $HelpAuto
  120 +
  121 + echo "copy $NEWMETA/help/ to $HelpAuto : done"
117 122  
118 123 echo "making Tree..."
119 124 php $UPDATEDIR/makeTree.php
... ...