mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04: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'),
|
||||
|
|
|
@ -137,6 +137,7 @@
|
|||
"boardChangeWatchPopup-title": "تغيير المتابعة",
|
||||
"boardMenuPopup-title": "Board Settings",
|
||||
"boardChangeViewPopup-title": "عرض اللوحات",
|
||||
"board": "لوحة",
|
||||
"boards": "لوحات",
|
||||
"board-view": "عرض اللوحات",
|
||||
"board-view-cal": "التقويم",
|
||||
|
@ -148,6 +149,7 @@
|
|||
"cancel": "إلغاء",
|
||||
"card-archived": "البطاقة منقولة الى الارشيف",
|
||||
"board-archived": "اللوحات منقولة الى الارشيف",
|
||||
"card": "نطاقة",
|
||||
"card-comments-title": "%s تعليقات لهذه البطاقة",
|
||||
"card-delete-notice": "هذا حذف أبديّ . سوف تفقد كل الإجراءات المنوطة بهذه البطاقة",
|
||||
"card-delete-pop": "سيتم إزالة جميع الإجراءات من تبعات النشاط، وأنك لن تكون قادرا على إعادة فتح البطاقة. لا يوجد التراجع.",
|
||||
|
@ -403,6 +405,7 @@
|
|||
"leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
|
||||
"leaveBoardPopup-title": "مغادرة اللوحة ؟",
|
||||
"link-card": "ربط هذه البطاقة",
|
||||
"list": "قائمة",
|
||||
"list-archive-cards": "Move all cards in this list to Archive",
|
||||
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.",
|
||||
"list-move-cards": "نقل بطاقات هذه القائمة",
|
||||
|
@ -827,7 +830,7 @@
|
|||
"saturday": "Saturday",
|
||||
"sunday": "Sunday",
|
||||
"status": "Status",
|
||||
"swimlane": "Swimlane",
|
||||
"swimlane": "خط السباحة",
|
||||
"owner": "Owner",
|
||||
"last-modified-at": "Last modified at",
|
||||
"last-activity": "Last activity",
|
||||
|
@ -844,5 +847,6 @@
|
|||
"displayName": "Display Name",
|
||||
"shortName": "Short Name",
|
||||
"website": "Website",
|
||||
"person": "Person"
|
||||
"person": "Person",
|
||||
"my-cards": "بطاقاتي"
|
||||
}
|
||||
|
|
|
@ -844,5 +844,9 @@
|
|||
"displayName": "Display Name",
|
||||
"shortName": "Short Name",
|
||||
"website": "Website",
|
||||
"person": "Person"
|
||||
"person": "Person",
|
||||
"my-cards": "My Cards",
|
||||
"card": "Card",
|
||||
"list": "List",
|
||||
"board": "Board"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue