Tag Folders: show hidden numbers

- Show hidden counts for folders, and total
- Rework resizing of character names to shrink additional data first
- Better placement for group numbers
This commit is contained in:
Wolfsblvt
2024-03-07 02:15:41 +01:00
parent 18379ec602
commit fb97f563b7
5 changed files with 83 additions and 26 deletions

View File

@ -542,11 +542,8 @@ export function getGroupBlock(group) {
template.find('.group_fav_icon').css('display', 'none');
template.addClass(group.fav ? 'is_fav' : '');
template.find('.ch_fav').val(group.fav);
template.find('.group_select_counter').text(count);
template.find('.group_select_counter').text(`${count} ${count != 1 ? 'characters' : 'character'}`);
template.find('.group_select_block_list').append(namesList.join(''));
if (count == 1) {
template.find('.character_unit_name').text('character');
}
// Display inline tags
const tags = getTagsList(group.id);