summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-08-19 21:21:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-08-19 21:21:40 +0200
commitcaec47b75d132b98a1b251448a46d3756d05c7b8 (patch)
tree3e0caaf68b66138e7531bfe22ca0ba7693561e38 /application/views/file
parent1dd61073aa449e6f2bc13e44775ed2edf03914fb (diff)
hide "Latest release" on client page if there is none
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/client.php b/application/views/file/client.php
index 2c4491542..6069c62b1 100644
--- a/application/views/file/client.php
+++ b/application/views/file/client.php
@@ -5,7 +5,7 @@ cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url(); ?> (bina
</pre>
<p><b>Client:</b></p>
<p>Development (git): <a href="http://git.server-speed.net/users/flo/fb/">http://git.server-speed.net/users/flo/fb/</a><br />
-Latest release: <a href="<?php echo $client_link; ?>"><?php echo $client_link; ?></a>.<br />
+<?php if($client_link) {?>Latest release: <a href="<?php echo $client_link; ?>"><?php echo $client_link; ?></a>.<br /><?php }; ?>
GPG sigs, older versions: <a href="<?php echo $client_link_dir; ?>"><?php echo $client_link_dir; ?></a>
</p>
<p>If you want to use authentication (needed for deleting) add the following to your ~/.netrc:</p>