mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
more my cards
* add user menu entry (needs icon) * format list * add new translation slugs to English and Arabic
This commit is contained in:
parent
223fb78bd8
commit
885de88d35
7 changed files with 30 additions and 11 deletions
|
|
@ -224,11 +224,11 @@ Template.checklists.helpers({
|
|||
});
|
||||
|
||||
Template.addChecklistItemForm.onRendered(() => {
|
||||
autosize($('textarea.js-add-checklist-item'))
|
||||
autosize($('textarea.js-add-checklist-item'));
|
||||
});
|
||||
|
||||
Template.editChecklistItemForm.onRendered(() => {
|
||||
autosize($('textarea.js-edit-checklist-item'))
|
||||
autosize($('textarea.js-edit-checklist-item'));
|
||||
});
|
||||
|
||||
Template.checklistDeleteDialog.onCreated(() => {
|
||||
|
|
|
|||
|
|
@ -11,19 +11,19 @@ template(name="myCardsModalTitle")
|
|||
|
||||
template(name="myCards")
|
||||
.wrapper
|
||||
h2 User Id
|
||||
p= userId
|
||||
//p= query.assignees
|
||||
h1 My Cards
|
||||
each board in cardsFind
|
||||
.board-title
|
||||
| {{_ 'board' }}:
|
||||
= board.title
|
||||
each swimlane in board.swimlanes
|
||||
.swimlane-title
|
||||
| {{_ 'swimlane' }}:
|
||||
= swimlane.title
|
||||
each list in swimlane.lists
|
||||
.list-title
|
||||
| {{_ 'list' }}:
|
||||
= list.title
|
||||
each card in list.cards
|
||||
.card-details-title
|
||||
.card-title
|
||||
| {{_ 'card' }}:
|
||||
= card.title
|
||||
|
|
|
|||
|
|
@ -32,4 +32,8 @@
|
|||
.list-title
|
||||
margin-top: 5px
|
||||
font-weight: bold
|
||||
margin-left: 2em
|
||||
margin-left: 1.6em
|
||||
|
||||
.card-title
|
||||
margin-top: 5px
|
||||
margin-left: 1.8em
|
||||
|
|
|
|||
|
|
@ -13,6 +13,10 @@ template(name="headerUserBar")
|
|||
template(name="memberMenuPopup")
|
||||
ul.pop-over-list
|
||||
with currentUser
|
||||
li
|
||||
a.js-my-cards(href="{{pathFor 'my-cards'}}")
|
||||
i.fa.fa-user
|
||||
| {{_ 'my-cards'}}
|
||||
li
|
||||
a.js-edit-profile
|
||||
i.fa.fa-user
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ Template.memberMenuPopup.helpers({
|
|||
});
|
||||
|
||||
Template.memberMenuPopup.events({
|
||||
'click .js-my-cards'() {
|
||||
Popup.close();
|
||||
},
|
||||
'click .js-edit-profile': Popup.open('editProfile'),
|
||||
'click .js-change-settings': Popup.open('changeSettings'),
|
||||
'click .js-change-avatar': Popup.open('changeAvatar'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue