Add openInbox link to conversation menu. Fixes #246
This commit is contained in:
parent
9d688cb761
commit
d26c13b155
2 changed files with 7 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
<div class='menu'>
|
||||
<button class='hamburger'></button>
|
||||
<ul class='menu-list'>
|
||||
<li><a class='openInbox'>Open Inbox</a></li>
|
||||
{{#group}}
|
||||
<li><a class='new-group-update'>Update group</a></li>
|
||||
<li><a class='leave-group'>Leave group</a></li>
|
||||
|
@ -32,7 +33,7 @@
|
|||
<li><a class='destroy'>Delete messages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<span class='conversation-title'>{{ title }}</span>
|
||||
<span class='conversation-title'>{{ title }}</span>
|
||||
</div>
|
||||
|
||||
<div class='discussion-container'></div>
|
||||
|
|
|
@ -65,10 +65,15 @@
|
|||
'click .new-group-update': 'newGroupUpdate',
|
||||
'click .verify-identity': 'verifyIdentity',
|
||||
'click .hamburger': 'toggleMenu',
|
||||
'click .openInbox' : 'openInbox',
|
||||
'click' : 'onClick',
|
||||
'select .entry': 'messageDetail'
|
||||
},
|
||||
|
||||
openInbox: function() {
|
||||
openInbox();
|
||||
},
|
||||
|
||||
onClick: function(e) {
|
||||
this.closeMenu(e);
|
||||
this.markRead(e);
|
||||
|
|
Loading…
Reference in a new issue