Merge pull request #2671 from phl0/skipEmptyRoveTable
Skip rove table if empty and display info message
这个提交包含在:
		
						当前提交
						0380e24d62
					
				
					共有  16 个文件被更改,包括 36 次插入 和 0 次删除
				
			
		|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -211,3 +211,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -207,3 +207,5 @@ $lang['southamerica'] = 'Jižní Amerika'; | |||
| 
 | ||||
| $lang['gen_band_selection'] = 'Výběr pásma'; | ||||
| $lang['general_word_today'] = 'Dnes'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -210,3 +210,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -210,3 +210,5 @@ $lang['dashboard_php_version_warning'] = 'Die PHP Version is zu alt. Benötigt w | |||
| $lang['dashboard_country_files_warning'] = 'Die Länderlisten müssen aktualisiert werden! Klicke <a href="'.site_url('update').'">hier</a>, um das zu tun!'; | ||||
| $lang['dashboard_locations_warning'] = 'Ea wurde kein Stationsstandort angelegt! Klicke <a href="'. site_url('station') . '">hier</a>, um das zu tun!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'Es wurde kein Stationslogbuch angelegt. Klicke <a href="'. site_url('logbooks') . '">hier</a>, um das zu tun!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'Keine bevorstehenden Aktivierungen gefunden. Bitte später noch einmal vorbeischauen.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -207,3 +207,5 @@ $lang['southamerica'] = 'South America'; | |||
| 
 | ||||
| $lang['gen_band_selection'] = 'Band selection'; | ||||
| $lang['general_word_today'] = 'Today'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -213,3 +213,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -213,3 +213,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -212,3 +212,5 @@ $lang['dashboard_php_version_warning'] = 'You need to upgrade your PHP version. | |||
| $lang['dashboard_country_files_warning'] = 'You need to update country files! Go <a href="'.site_url('update').'">here</a> to do it!'; | ||||
| $lang['dashboard_locations_warning'] = 'You have no station locations. Go <a href="'. site_url('station') . '">here</a> to create it!'; | ||||
| $lang['dashboard_logbooks_warning'] = 'You have no station logbook. Go <a href="'. site_url('logbooks') . '">here</a> to create it!'; | ||||
| 
 | ||||
| $lang['hams_at_no_activations_found'] = 'No upcoming activations found. Please check back later.'; | ||||
|  |  | |||
|  | @ -2,6 +2,11 @@ | |||
| 
 | ||||
|     <h2>Hamsat - Satellite Rovers</h2> | ||||
|     <p>This data is from <a target="_blank" href="https://hams.at/">https://hams.at/</a></p> | ||||
|     <?php if ($rovedata == []) { ?>
 | ||||
|      <div class="alert alert-warning" role="warning"> | ||||
|        <?php echo lang('hams_at_no_activations_found');?>
 | ||||
|     </div> | ||||
|     <?php } else { ?>
 | ||||
|     <table class="table table-striped table-hover"> | ||||
|         <thead> | ||||
|             <tr> | ||||
|  | @ -87,4 +92,5 @@ | |||
|             <?php endforeach; ?>
 | ||||
|         </tbody> | ||||
|     </table> | ||||
|     <?php } ?>
 | ||||
| </div> | ||||
|  |  | |||
		正在加载…
	
		在新工单中引用