Switch to side-by-side view

--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -8,7 +8,6 @@
 import json
 
 # Non-stdlib imports
-from activitystream import director
 import pkg_resources
 from tg import expose, validate, redirect, flash, url, config
 from tg.decorators import with_trailing_slash, without_trailing_slash
@@ -572,7 +571,8 @@
             require_access(c.app, 'create')
             ticket = TM.Ticket.new()
         ticket.update(ticket_form)
-        director().create_activity(c.user, 'created', ticket, target=c.project)
+        g.director.create_activity(c.user, 'created', ticket,
+                related_nodes=[c.project])
         redirect(str(ticket.ticket_num)+'/')
 
     @with_trailing_slash
@@ -1131,6 +1131,8 @@
         self.ticket.commit()
         if comment:
             self.ticket.discussion_thread.post(text=comment)
+        g.director.create_activity(c.user, 'modified', self.ticket,
+                related_nodes=[c.project])
         redirect('.')
 
     @expose()