|
@@ -2,23 +2,22 @@ template(name="dueCardsHeaderBar")
|
|
|
h1
|
|
|
//a.back-btn(href="{{pathFor 'home'}}")
|
|
|
// i.fa.fa-chevron-left
|
|
|
- | {{_ 'due-cards'}}
|
|
|
+ | {{_ 'dueCards-title'}}
|
|
|
|
|
|
.board-header-btns.left
|
|
|
- a.board-header-btn.js-toggle-due-cards-choose-sort(title="{{_ 'due-cards-sort'}}")
|
|
|
- //i.fa.fa-caret-down
|
|
|
- i.fa.fa-sort
|
|
|
- if $eq dueCardsView 'user'
|
|
|
- i.fa.fa-th-large
|
|
|
- | {{_ 'due-cards-sort-board'}}
|
|
|
+ a.board-header-btn.js-due-cards-view-change(title="{{_ 'dueCardsViewChange-title'}}")
|
|
|
+ i.fa.fa-caret-down
|
|
|
+ if $eq dueCardsView 'me'
|
|
|
+ i.fa.fa-user
|
|
|
+ | {{_ 'dueCardsViewChange-choice-me'}}
|
|
|
if $eq dueCardsView 'all'
|
|
|
- i.fa.fa-calendar
|
|
|
- | {{_ 'due-cards-sort-dueat'}}
|
|
|
+ i.fa.fa-users
|
|
|
+ | {{_ 'dueCardsViewChange-choice-all'}}
|
|
|
|
|
|
template(name="dueCardsModalTitle")
|
|
|
h2
|
|
|
i.fa.fa-keyboard-o
|
|
|
- | {{_ 'due-cards'}}
|
|
|
+ | {{_ 'dueCards-title'}}
|
|
|
|
|
|
template(name="dueCards")
|
|
|
.wrapper
|
|
@@ -50,27 +49,16 @@ template(name="dueCards")
|
|
|
template(name="dueCardsViewChangePopup")
|
|
|
ul.pop-over-list
|
|
|
li
|
|
|
- with "due-cards-view-user"
|
|
|
- a.js-due-cards-sort-board
|
|
|
- i.fa.fa-th-large.colorful
|
|
|
- | {{_ 'due-cards-view-user'}}
|
|
|
- if $eq Utils.dueCardsView "user"
|
|
|
+ with "dueCardsViewChange-choice-me"
|
|
|
+ a.js-due-cards-view-me
|
|
|
+ i.fa.fa-user.colorful
|
|
|
+ | {{_ 'dueCardsViewChange-choice-me'}}
|
|
|
+ if $eq Utils.dueCardsView "me"
|
|
|
i.fa.fa-check
|
|
|
li
|
|
|
- with "due-cards-view-all"
|
|
|
- a.js-due-cards-sort-dueat
|
|
|
- i.fa.fa-calendar.colorful
|
|
|
- | {{_ 'due-cards-view-all'}}
|
|
|
+ with "dueCardsViewChange-choice-all"
|
|
|
+ a.js-due-cards-view-all
|
|
|
+ i.fa.fa-users.colorful
|
|
|
+ | {{_ 'dueCardsViewChange-choice-all'}}
|
|
|
if $eq Utils.dueCardsView "all"
|
|
|
i.fa.fa-check
|
|
|
-
|
|
|
-//template(name="dueCardsViewChangePopup")
|
|
|
-// ul.pop-over-list
|
|
|
-// li
|
|
|
-// a.js-due-cards-sort-board
|
|
|
-// i.fa.fa-th-large.colorful
|
|
|
-// | {{_ 'due-cards-sort-board'}}
|
|
|
-// li
|
|
|
-// a.js-due-cards-sort-dueat
|
|
|
-// i.fa.fa-calendar.colorful
|
|
|
-// | {{_ 'due-cards-sort-dueat'}}
|