hide editing button

This commit is contained in:
floppy0 2018-02-23 15:53:16 +01:00
parent cdf3879a8b
commit d6e6530be9
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
<?php echo $page->content(); ?>
</div>
<?php if (!$Url->notFound()): ?>
<div class="text-right mt-5">
<a class="btn btn-primary" href="<?php echo $GITHUB_BASE_URL.$page->key().'/'.FILENAME ?>"><?php echo $Language->get('Collaborate with us and edit this page'); ?></a>
</div>
<?php endif ?>