]> source.dussan.org Git - nextcloud-server.git/commitdiff
show the link to the issue tracker only for Admins as discussed with Björn and Jan.
authorFrank Karlitschek <frank@owncloud.org>
Thu, 13 Dec 2012 10:08:12 +0000 (11:08 +0100)
committerFrank Karlitschek <frank@owncloud.org>
Thu, 13 Dec 2012 10:08:12 +0000 (11:08 +0100)
settings/templates/help.php

index 06f53746c29c434200e967c8ddaebdba3618b71f..473219024b76209b477f8512d3763039f4f46155 100644 (file)
@@ -3,7 +3,7 @@
         <?php if($_['admin']) { ?><a class="button newquestion <?php echo($_['style2']); ?>" href="<?php echo($_['url2']); ?>"><?php echo $l->t( 'Administrator Documentation' ); ?></a><?php } ?>
         <a class="button newquestion" href="http://owncloud.org/support" target="_blank"><?php echo $l->t( 'Online Documentation' ); ?></a>
         <a class="button newquestion" href="http://forum.owncloud.org" target="_blank"><?php echo $l->t( 'Forum' ); ?></a>
-        <a class="button newquestion" href="https://github.com/owncloud/core/issues" target="_blank"><?php echo $l->t( 'Bugtracker' ); ?></a>
+        <?php if($_['admin']) { ?><a class="button newquestion" href="https://github.com/owncloud/core/issues" target="_blank"><?php echo $l->t( 'Bugtracker' ); ?></a><?php } ?>
         <a class="button newquestion" href="http://owncloud.com" target="_blank"><?php echo $l->t( 'Commercial Support' ); ?></a>
 </div>
 <br /><br />