mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Add first draft of data model and user interface. No actions.
This commit is contained in:
parent
ef85b71ee4
commit
0a53ee87b9
14 changed files with 129 additions and 7 deletions
|
|
@ -20,6 +20,9 @@ template(name="memberMenuPopup")
|
|||
if currentUser.isAdmin
|
||||
li: a.js-go-setting(href="{{pathFor 'setting'}}") {{_ 'admin-panel'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a(href="{{pathFor 'board' id=templatesBoardId slug=templatesBoardSlug}}") {{_ 'templates'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-logout {{_ 'log-out'}}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,15 @@ Template.headerUserBar.events({
|
|||
'click .js-change-avatar': Popup.open('changeAvatar'),
|
||||
});
|
||||
|
||||
Template.memberMenuPopup.helpers({
|
||||
templatesBoardId() {
|
||||
return Meteor.user().getTemplatesBoard().id;
|
||||
},
|
||||
templatesBoardSlug() {
|
||||
return Meteor.user().getTemplatesBoard().slug;
|
||||
},
|
||||
});
|
||||
|
||||
Template.memberMenuPopup.events({
|
||||
'click .js-edit-profile': Popup.open('editProfile'),
|
||||
'click .js-change-settings': Popup.open('changeSettings'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue