From 090252bc3997a8935c9fc820173993a98b4a4230 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 7 Feb 2024 07:46:42 +1100 Subject: [PATCH] FIX: Visits for TL3 actually means "Posts Read: unique days" (#25468) This fixes a quirk in the TL3 report where we were calling the column "visits" but it actually meant "Posts Read: unique days" --- .../addon/templates/user-tl3-requirements.hbs | 22 +++++++++---------- config/locales/client.en.yml | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/assets/javascripts/admin/addon/templates/user-tl3-requirements.hbs b/app/assets/javascripts/admin/addon/templates/user-tl3-requirements.hbs index 379bf891f07..ca429574b62 100644 --- a/app/assets/javascripts/admin/addon/templates/user-tl3-requirements.hbs +++ b/app/assets/javascripts/admin/addon/templates/user-tl3-requirements.hbs @@ -32,17 +32,6 @@ - - {{i18n "admin.user.tl3_requirements.visits"}} - {{check-icon this.model.tl3Requirements.met.days_visited}} - - {{this.model.tl3Requirements.days_visited_percent}}% ({{this.model.tl3Requirements.days_visited}} - / - {{this.model.tl3Requirements.time_period}} - {{i18n "admin.user.tl3_requirements.days"}}) - - {{this.model.tl3Requirements.min_days_visited_percent}}% - {{i18n "admin.user.tl3_requirements.topics_replied_to"}} {{check-icon this.model.tl3Requirements.met.topics_replied_to}} @@ -70,6 +59,17 @@ {{this.model.tl3Requirements.posts_read}} {{this.model.tl3Requirements.min_posts_read}} + + {{i18n "admin.user.tl3_requirements.posts_read_days"}} + {{check-icon this.model.tl3Requirements.met.days_visited}} + + {{this.model.tl3Requirements.days_visited_percent}}% ({{this.model.tl3Requirements.days_visited}} + / + {{this.model.tl3Requirements.time_period}} + {{i18n "admin.user.tl3_requirements.days"}}) + + {{this.model.tl3Requirements.min_days_visited_percent}}% + {{i18n "admin.user.tl3_requirements.posts_read_all_time"}} {{check-icon diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 65ac3b37a41..4c87b0ba699 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -6260,7 +6260,7 @@ en: other: "In the last %{count} days:" value_heading: "Value" requirement_heading: "Requirement" - visits: "Visits" + posts_read_days: "Posts Read: unique days" days: "days" topics_replied_to: "Topics Replied To" topics_viewed: "Topics Viewed"