1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 07:25:24 +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:
RAR 2023-01-10 19:47:26 +01:00
parent 0d86351d62
commit 4c735030ad
3 changed files with 11 additions and 0 deletions

View file

@ -117,6 +117,10 @@ const List = React.memo(
</Button>
</ActionsPopup>
)}
<div className={styles.cardsCount}>
{cardIds.length}&nbsp;
{cardIds.length !== 1 ? t('common.cards') : t('common.card')}
</div>
</div>
<div
ref={listWrapper}

View file

@ -39,6 +39,11 @@
min-height: 1px;
}
.cardsCount {
color: #798d99;
font-size: 12px;
}
.cardsInnerWrapper {
max-height: calc(100vh - 268px);
overflow-x: hidden;

View file

@ -158,6 +158,8 @@ export default {
version: 'Version',
viewer: 'Viewer',
writeComment: 'Write a comment...',
card: 'card',
cards: 'cards',
},
action: {