Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OzanKurt committed Apr 22, 2016
1 parent 14a3b29 commit a288b82
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions resources/themes/bootstrap/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,15 @@

<?php else: ?>

<?php if ($lister->containsIndex($fileInfo['file_path'])): ?>
<?php if (!$lister->linksForDirsWithIndex()): ?>

<a href="<?php echo $fileInfo['file_path']; ?>" class="web-link-button" <?php if($lister->externalLinksNewWindow()): ?>target="_blank"<?php endif; ?>>
<i class="fa fa-external-link"></i>
</a>
<?php if ($lister->containsIndex($fileInfo['file_path'])): ?>

<a href="<?php echo $fileInfo['file_path']; ?>" class="web-link-button" <?php if($lister->externalLinksNewWindow()): ?>target="_blank"<?php endif; ?>>
<i class="fa fa-external-link"></i>
</a>

<?php endif; ?>

<?php endif; ?>

Expand Down

0 comments on commit a288b82

Please sign in to comment.