Permalink
Browse files

Video

  • Loading branch information...
1 parent 7b452d2 commit 7dc8f14308344a886b80b0ac90262f3f0b58ee91 @pfinette pfinette committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 site/site/templates/portfolio.php
@@ -46,7 +46,7 @@
<div class="alumni">
<a href="<?php echo $image->link() ?>" target="_blank"><img src="<?php echo $image->url() ?>" alt="<?php echo $image->name() ?>" /></a><br />
<p><?php echo $image->info() ?></p>
- <h6><a href="<?php echo $image->link() ?>" target="_blank">Visit <?php echo $image->name() ?></a> <?php echo $image->video() ?></h6>
+ <h6><a href="<?php echo $image->link() ?>" target="_blank">Visit <?php echo $image->name() ?></a><?php (isset($image->$video) : ?> | <a href="<?php echo $image->video() ?>" target="_blank">Video</a><?php endif; ?></h6>
</div>
</li>
<?php endforeach ?>

0 comments on commit 7dc8f14

Please sign in to comment.