Hello,
Since I got fed-up with having the same icon for tickets as for discussion entries I quickly created a fairly ugly but trac:ish looking icon.
Since I don't really know how to "add the css" to the css in track I hand edited it in under timeline.css (trac one) like so:
dt.discussion, dt.discussion a { background-image: url(../discussion.png) !important }
And the diff for getting trackdiscussion to use it is here:
Index: tracdiscussion/timeline.py
===================================================================
--- tracdiscussion/timeline.py (Revision 7719)
+++ tracdiscussion/timeline.py (Arbeitskopie)
@@ -52,7 +52,7 @@
title = 'New topic on %s created' % (topic['forum_name'])
description = topic['subject']
ids = ('topic', topic['id'])
- yield ('newticket', topic['time'], topic['author'], (title,
+ yield ('discussion', topic['time'], topic['author'], (title,
description, ids))
# Get message events
@@ -60,7 +60,7 @@
title = 'New reply on %s created' % (message['forum_name'])
description = message['topic_subject']
ids = ('message', message['id'])
- yield ('newticket', message['time'], message['author'], (title,
+ yield ('discussion', message['time'], message['author'], (title,
description, ids))
def render_timeline_event(self, context, field, event):