Annotate whether group or entry is excluded

This commit is contained in:
Agoston Szepessy 2025-12-22 23:34:16 -08:00
parent 09efef0a97
commit 4ffded3169
3 changed files with 15 additions and 3 deletions

View file

@ -142,7 +142,11 @@ void ReportsWidgetBrowserStatistics::addStatisticsRow(bool hasUrls,
auto title = entry->title();
if (excluded) {
title.append(tr(" (Excluded)"));
if(group->excludeFromReports()) {
title.append(tr(" (Group Excluded"));
} else {
title.append(tr(" (Excluded)"));
}
}
if (entry->isExpired()) {
title.append(tr(" (Expired)"));

View file

@ -198,7 +198,11 @@ void ReportsWidgetHealthcheck::addHealthRow(QSharedPointer<PasswordHealth> healt
auto title = entry->title();
if (excluded) {
title.append(tr(" (Excluded)"));
if(group->excludeFromReports()) {
title.append(tr(" (Group Excluded"));
} else {
title.append(tr(" (Excluded)"));
}
}
if (entry->isExpired()) {
title.append(tr(" (Expired)"));

View file

@ -160,7 +160,11 @@ void ReportsWidgetHibp::makeHibpTable()
continue;
}
title.append(tr(" (Excluded)"));
if(group->excludeFromReports()) {
title.append(tr(" (Group Excluded"));
} else {
title.append(tr(" (Excluded)"));
}
}
auto row = QList<QStandardItem*>();