Only show download function if result is not empty

这个提交包含在:
phl0 2023-05-22 10:26:45 +02:00
父节点 34e7afbc91
当前提交 08a814f629
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A

查看文件

@ -58,16 +58,7 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
echo "</tr>"; echo "</tr>";
?> ?>
</tbody></table> </tbody></table>
<br /><br />
<?php
} else {
echo "<p>There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!</p>";
}
?>
</div>
<div class="card-body">
<?php $this->load->view('layout/messages'); ?>
<?php echo form_open_multipart('eqsl/download');?> <?php echo form_open_multipart('eqsl/download');?>
<div class="form-check"> <div class="form-check">
@ -79,7 +70,13 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
<input class="btn btn-primary" type="submit" value="Download un-synced eQSL cards" /> <input class="btn btn-primary" type="submit" value="Download un-synced eQSL cards" />
</form> </form>
</div>
<?php
} else {
echo "<p>There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!</p>";
}
?>
</div>
</div> </div>
</div> </div>