diff --git a/src/ratpack/handlebars/topic-watch.html.hbs b/src/ratpack/handlebars/topic-watch.html.hbs index f79a390..b4c14fc 100644 --- a/src/ratpack/handlebars/topic-watch.html.hbs +++ b/src/ratpack/handlebars/topic-watch.html.hbs @@ -29,6 +29,7 @@
{{title}}
+
@@ -75,6 +76,11 @@ $('#stop').toggle(); watchTopic("{{name}}"); }); + + // Add our labels into the view + $("{{name}}".split('+')).each(function (idx, value) { + $('.topics-watched').append($("" + value + '')) + }); {{> footer}} diff --git a/src/ratpack/public/css/offtopic.css b/src/ratpack/public/css/offtopic.css index 7d93011..3050035 100644 --- a/src/ratpack/public/css/offtopic.css +++ b/src/ratpack/public/css/offtopic.css @@ -38,3 +38,7 @@ body { .message-show-b64 { font-size: 0.7em; } + +.topics-watched .label { + margin-right: 3px; +}