From 6a9c22b7f8438406f7e0a59ab3b30eb4fd10b052 Mon Sep 17 00:00:00 2001 From: William Kuijltjes Date: Sat, 25 Nov 2023 07:45:01 +0100 Subject: [PATCH] Slightly improve stats pages --- marietje/stats/templates/stats/stats.html | 9 +++-- marietje/stats/templates/stats/user.html | 41 ++++++++++++----------- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/marietje/stats/templates/stats/stats.html b/marietje/stats/templates/stats/stats.html index b20473e..b774c22 100644 --- a/marietje/stats/templates/stats/stats.html +++ b/marietje/stats/templates/stats/stats.html @@ -28,6 +28,7 @@ # User # Songs + @@ -54,6 +55,7 @@ # User # Requests + @@ -109,6 +111,7 @@ # User # Unique + @@ -176,7 +179,9 @@

Most played uploaders

-

These are the {{ stats.stats_top_count }} people whose songs are requested most often by other people, as shown in the left column. The right column shows how many times that person has queued his own songs.

+

These are the {{ stats.stats_top_count }} people whose songs are requested most often by other + people, as shown in the left column. The right column shows how many times that person has queued + their own songs.

@@ -202,7 +207,7 @@

Most played songs last 14 days

-

These songs are played the {{ stats.stats_top_count }} most in the last two weeks.

+

These {{ stats.stats_top_count }} songs have been requested the most in the last two weeks.

diff --git a/marietje/stats/templates/stats/user.html b/marietje/stats/templates/stats/user.html index 8459d4e..5d6030a 100644 --- a/marietje/stats/templates/stats/user.html +++ b/marietje/stats/templates/stats/user.html @@ -21,9 +21,10 @@ {% endif %}

Most played songs

-

You have requested {{ stats.unique_requests }} different - songs a total of {{ stats.total_requests }} times. This - means {% widthratio stats.unique_requests stats.total_requests 100 %}% of your requests have been unique.

+

You have requested {{ stats.unique_requests }} different songs a total of + {{ stats.total_requests }} times. This means + {% widthratio stats.unique_requests stats.total_requests 100 %}% of your requests + have been unique. These are the song you have requested the most.

Top {{ stats.stats_top_count }}:

@@ -50,6 +51,7 @@

Most played artists

+

These are the artists you have requested the most.

Top {{ stats.stats_top_count }}:

@@ -57,7 +59,7 @@ - + @@ -74,11 +76,11 @@

Uploads requested

-

You have uploaded a total of {{stats.total_uploads }} songs. The left column - shows how many times these have been requested by other people. The right column shows - how many times you requested your own songs. In total your songs - have been queued {{stats.total_played_uploads }} times by others and - {{stats.total_played_user_uploads }} by yourself. +

You have uploaded a total of {{stats.total_uploads }} songs. The left column + shows how many times these have been requested by other people. The right column shows how many times + you requested your own songs. In total your songs have been queued + {{stats.total_played_uploads }} times by others and + {{stats.total_played_user_uploads }} times by yourself.

Top {{ stats.stats_top_count }}:

# Artist# Requests# Requests
@@ -87,8 +89,8 @@ - - + + @@ -107,8 +109,8 @@

Upload artists requested

-

The left column shows how many times songs from artists uploaded by you have been requested by - other people. The right column shows how many times you requested those songs. +

The left column shows how many times songs from artists uploaded by you have been requested by + other people. The right column shows how many times you requested those songs.

Top {{ stats.stats_top_count }}:

# Artist TitleOthersYou# Others# You
@@ -116,8 +118,8 @@ - - + + @@ -135,14 +137,15 @@

Most played uploaders

-

The people whose songs you have queued the most are:

+

These are the people whose songs you have requested the most.

# ArtistOthersYou# Others# You
- + + @@ -160,14 +163,14 @@

Biggest fans

-

The people that queued your songs the most are:

+

These are the people that have requested your songs the most.

# Uploader# Requests# Requests
- +
# User# Requests# Requests