<div id="topic-tags">
<p><?php _e('Topic tags:'); ?></p>
<?php
$topic_id = bp_get_the_topic_id();
$topic = get_topic( get_topic_id( $topic_id ) );
?>
<?php if ( bb_get_topic_tags( $topic_id ) ) : ?>
<?php bb_list_tags( array( 'topic' => $topic ) ); ?>
<?php else : ?>
<p><?php printf(__('No <a href="%s">tags</a> yet.'), bb_get_tag_page_link() ); ?></p>
<?php endif; ?>
</div>