mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-02 21:46:57 +02:00
rename group stats to position / department stats
Signed-off-by: RonniSkansing <rskansing@gmail.com>
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -1362,7 +1362,7 @@ func (c *Campaign) GetResultStats(
|
||||
const anonymityGroupFloor = 3
|
||||
|
||||
// OTHER_GROUP_LABEL is the bucket name for merged small groups.
|
||||
const OTHER_GROUP_LABEL = "Other (small groups)"
|
||||
const OTHER_GROUP_LABEL = "Other (small)"
|
||||
|
||||
// GetGroupedResultStats returns outcome counts grouped by a recipient attribute,
|
||||
// suppressing any group smaller than the anonymity floor. Only anonymous campaigns
|
||||
|
||||
@@ -2032,7 +2032,7 @@
|
||||
{#if hasGroupData}
|
||||
<div class="mb-6">
|
||||
<div class="mb-3 flex items-center gap-3">
|
||||
<SubHeadline>Results by group</SubHeadline>
|
||||
<SubHeadline>Results by position or department</SubHeadline>
|
||||
<button
|
||||
type="button"
|
||||
class="text-sm font-medium text-cta-blue hover:text-blue-700 dark:text-highlight-blue dark:hover:text-blue-300 transition-colors duration-200"
|
||||
@@ -2764,7 +2764,7 @@
|
||||
{#if campaign.isAnonymous}
|
||||
<span
|
||||
class="text-sm italic text-gray-400 dark:text-gray-500"
|
||||
title="Per-recipient outcomes are hidden for anonymous campaigns. See Results by group."
|
||||
title="Per-recipient outcomes are hidden for anonymous campaigns. See Results by position or department."
|
||||
>Hidden</span
|
||||
>
|
||||
{:else}
|
||||
|
||||
Reference in new issue
Block a user