Less jquery, more templating in conversation view

`if (foo) then jquery-dom-insert...` is a poor pattern to follow.
Instead, let mustache do the work.
This commit is contained in:
lilia 2015-01-15 22:22:24 -10:00
parent e74cba8a92
commit d470b0eb53
2 changed files with 14 additions and 7 deletions

View file

@ -61,6 +61,13 @@
</div>
</form>
</div>
{{#group}}
<button class='new-group-update'>Update group</button>
<button class='leave-group'>Leave group</button>
{{/group}}
{{^group}}
<button class='end-session'>End Session</button>
{{/group}}
<div class='extension-details'>
<ul>
<li>Signal for Chrome</li>