Skip to content
Snippets Groups Projects
Commit 7d39f901 authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Pjax can be used in a few new places

parent 2ea41188
Branches
Tags
No related merge requests found
......@@ -74,7 +74,7 @@ if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path')
include STAFFINC_DIR . 'templates/users.tmpl.php';
?>
</div>
<div class="tab_content no-pjax" id="tickets" style="display:none;">
<div class="tab_content" id="tickets" style="display:none;">
<?php
include STAFFINC_DIR . 'templates/tickets.tmpl.php';
?>
......
......@@ -9,11 +9,11 @@
<?php
echo $note->getStaff()->getName();
if (isset($show_options) && $show_options) { ?>
<div class="options">
<a href="#" class="action edit-note no-pjax" title="edit"><i class="icon-pencil"></i></a>
<a href="#" class="action save-note no-pjax" style="display:none" title="save"><i class="icon-save"></i></a>
<a href="#" class="action cancel-edit no-pjax" style="display:none" title="undo"><i class="icon-undo"></i></a>
<a href="#" class="action delete no-pjax" title="delete"><i class="icon-trash"></i></a>
<div class="options no-pjax">
<a href="#" class="action edit-note" title="edit"><i class="icon-pencil"></i></a>
<a href="#" class="action save-note" style="display:none" title="save"><i class="icon-save"></i></a>
<a href="#" class="action cancel-edit" style="display:none" title="undo"><i class="icon-undo"></i></a>
<a href="#" class="action delete" title="delete"><i class="icon-trash"></i></a>
</div>
<?php } ?>
</div>
......
......@@ -47,7 +47,7 @@ if ($info['error']) {
<div class="floating-options">
<a href="#" id="edituser" class="action" title="Edit"><i class="icon-edit"></i></a>
<a href="users.php?id=<?php echo $user->getId(); ?>" title="Manage User"
class="action no-pjax"><i class="icon-share"></i></a>
class="action"><i class="icon-share"></i></a>
</div>
<table class="custom-info">
<?php foreach ($user->getDynamicData() as $entry) {
......@@ -69,7 +69,7 @@ if ($info['error']) {
<div class="tab_content" id="organization-tab" style="display:none">
<div class="floating-options">
<a href="orgs.php?id=<?php echo $org->getId(); ?>" title="Manage Organization"
class="action no-pjax"><i class="icon-share"></i></a>
class="action"><i class="icon-share"></i></a>
</div>
<table class="custom-info" width="100%">
<?php foreach ($org->getDynamicData() as $entry) {
......
......@@ -196,9 +196,9 @@ if($ticket->isOverdue())
$user->getId(), $closed);
?>
<li><a href="tickets.php?a=search&uid=<?php echo $ticket->getOwnerId(); ?>"><i class="icon-double-angle-right icon-fixed-width"></i> All Tickets</a></li>
<li><a href="users.php?id=<?php echo $user->getId(); ?>" class="no-pjax"><i class="icon-user icon-fixed-width"></i> Manage Client</a></li>
<li><a href="users.php?id=<?php echo $user->getId(); ?>"><i class="icon-user icon-fixed-width"></i> Manage Client</a></li>
<?php if ($user->getOrgId()) { ?>
<li><a href="orgs.php?id=<?php echo $user->getOrgId(); ?>" class="no-pjax"><i class="icon-building icon-fixed-width"></i> Manage Organization</a></li>
<li><a href="orgs.php?id=<?php echo $user->getOrgId(); ?>"><i class="icon-building icon-fixed-width"></i> Manage Organization</a></li>
<?php } ?>
</u>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment