diff --git a/client/js/shout.templates.js b/client/js/shout.templates.js index 47f8b66f..99771b81 100644 --- a/client/js/shout.templates.js +++ b/client/js/shout.templates.js @@ -37,16 +37,19 @@ templates['chat'] = template({"1":function(depth0,helpers,partials,data) { + escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper))) + "\" class=\"chan " + escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper))) - + "\">\n
\n \n \n
\n \n\n"; stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "lobby", {"name":"equal","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data})); if (stack1 != null) { buffer += stack1; } + buffer += "
\n \n
\n " + escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper))) + "\n "; stack1 = ((helpers.parse || (depth0 && depth0.parse) || helperMissing).call(depth0, (depth0 != null ? depth0.topic : depth0), {"name":"parse","hash":{},"data":data})); if (stack1 != null) { buffer += stack1; } buffer += "\n
\n
\n
\n
\n"; },"2":function(depth0,helpers,partials,data) { + return "\n"; +},"4":function(depth0,helpers,partials,data) { + return " \n"; + },"6":function(depth0,helpers,partials,data) { return " Disconnect\n"; - },"4":function(depth0,helpers,partials,data) { + },"8":function(depth0,helpers,partials,data) { var stack1, helperMissing=helpers.helperMissing, buffer = ""; - stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "query", {"name":"equal","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data})); + stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "query", {"name":"equal","hash":{},"fn":this.program(9, data),"inverse":this.program(11, data),"data":data})); if (stack1 != null) { buffer += stack1; } return buffer; -},"5":function(depth0,helpers,partials,data) { +},"9":function(depth0,helpers,partials,data) { return " Close\n"; - },"7":function(depth0,helpers,partials,data) { + },"11":function(depth0,helpers,partials,data) { return " Leave\n"; - },"9":function(depth0,helpers,partials,data) { + },"13":function(depth0,helpers,partials,data) { return "show"; },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var stack1, buffer = ""; diff --git a/client/views/chat.tpl b/client/views/chat.tpl index 78c860e3..b74e4dd3 100644 --- a/client/views/chat.tpl +++ b/client/views/chat.tpl @@ -2,7 +2,11 @@
- + {{#equal type "lobby"}} + {{!-- Insert settings icon --}} + {{else}} + + {{/equal}}