diff options
Diffstat (limited to 'app/view/stdpage.php')
-rw-r--r-- | app/view/stdpage.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php index 95fb530..99cbb25 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -180,6 +180,10 @@ require_once "view/settings.php"; <?=\settings\settings()?> <?=\datamods\newGroup()?> <?=\datamods\newPad()?> + + <?php if (getPageObj()->objtype == "pad") { ?> + <?=\datamods\newIssue()?> + <?php } ?> <?php } ?> <nav class="navbar navbar-inverse navbar-fixed-top"> @@ -225,6 +229,11 @@ require_once "view/settings.php"; <ul class="dropdown-menu"> <li><a href="#" data-toggle="modal" data-target="#newGroupModal">New Group</a></li> <li><a href="#" data-toggle="modal" data-target="#newPadModal">New Pad</a></li> + + <?php if (getPageObj()->objtype == "pad") { ?> + <li class="divider"></li> + <li><a href="#" data-toggle="modal" data-target="#newIssueModal">New Issue</a></li> + <?php } ?> </ul> </li> </ul> |