Skip to content

Commit

Permalink
using the new version navigation bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchen committed Jan 22, 2013
1 parent 0ea4858 commit c3b59bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions wp-trac-client/templates/page-ticket-details.php
Expand Up @@ -3,15 +3,18 @@
* Template Name: Trac Ticket Details
* Description: a page to show the details for a ticket.
*/
global $post, $current_blog;

$DEBUG = False;

get_header();
wp_enqueue_style('wptc-trac-ticket');

// get parent page's slug
// get parent page's slug, it while be the project name.
$parent_slug = get_page($post->post_parent)->post_name;
$ticket_id = $_GET['id'];
// TODO:
// what if there is not id specified? create new ticket?
if ($DEBUG) {
$ticket = wptc_get_ticket_changelog($ticket_id);
Expand All @@ -21,11 +24,13 @@
}
?>

</div>

<div id="left_column">
<div class='leftnav'>
<div class='widget'>
<h2 class='widgettitle'>Sprint Navigation</h2>
<?php wptc_widget_sprint_nav()?>
<?php echo wptc_widget_version_nav()?>
</div>
</div>
</div>
Expand Down

0 comments on commit c3b59bd

Please sign in to comment.