Commit e3dab6425398de0a6922e007d34c1e52a5836a61

Authored by Elena Budnik
2 parents 3e9f7a84 a7316784

Merge branch 'data-version' into 'master'

Data version

See merge request !37
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
... ...