From f1b88e5216e8332cb8d45716c6cba127b4dcde9a Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Tue, 26 Jun 2018 01:00:11 -0700 Subject: [PATCH] switch close button text on channels to Leave and kept as Close for other types. --- client/views/chan.tpl | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/client/views/chan.tpl b/client/views/chan.tpl index d9227d45..0b7adc20 100644 --- a/client/views/chan.tpl +++ b/client/views/chan.tpl @@ -25,14 +25,19 @@ - {{/equal}} - {{#notEqual type "lobby"}} + {{else}} {{name}} {{#if unread}}{{roundBadgeNumber unread}}{{/if}} - - - - {{/notEqual}} + {{#equal type "channel"}} + + + + {{else}} + + + + {{/equal}} + {{/equal}} {{#equal type "lobby"}} {{> join_channel}}