mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 15:35:29 +02:00
feat: Added column card counts
Please don't "fix" the "<no_cards> cards" alignment, after adding column collapsing feature it will look good :D
This commit is contained in:
parent
0d86351d62
commit
4c735030ad
3 changed files with 11 additions and 0 deletions
|
@ -117,6 +117,10 @@ const List = React.memo(
|
||||||
</Button>
|
</Button>
|
||||||
</ActionsPopup>
|
</ActionsPopup>
|
||||||
)}
|
)}
|
||||||
|
<div className={styles.cardsCount}>
|
||||||
|
{cardIds.length}
|
||||||
|
{cardIds.length !== 1 ? t('common.cards') : t('common.card')}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
ref={listWrapper}
|
ref={listWrapper}
|
||||||
|
|
|
@ -39,6 +39,11 @@
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cardsCount {
|
||||||
|
color: #798d99;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.cardsInnerWrapper {
|
.cardsInnerWrapper {
|
||||||
max-height: calc(100vh - 268px);
|
max-height: calc(100vh - 268px);
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
|
@ -158,6 +158,8 @@ export default {
|
||||||
version: 'Version',
|
version: 'Version',
|
||||||
viewer: 'Viewer',
|
viewer: 'Viewer',
|
||||||
writeComment: 'Write a comment...',
|
writeComment: 'Write a comment...',
|
||||||
|
card: 'card',
|
||||||
|
cards: 'cards',
|
||||||
},
|
},
|
||||||
|
|
||||||
action: {
|
action: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue