diff --git a/CHANGELOG.md b/CHANGELOG.md index c0ba624..cb7f530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## Unreleased +* Improve the newcomer experience by guiding through each step * Fix errors with empty database * Fix negative playtimes being considered positive * Add %d for days to common.util.time.format_duration diff --git a/src/web/tracker/templates/index.html b/src/web/tracker/templates/index.html index 16b8a27..f209a64 100644 --- a/src/web/tracker/templates/index.html +++ b/src/web/tracker/templates/index.html @@ -6,8 +6,12 @@
{% if session_count > 0 %} You have played a total of {{ session_count }} sessions for a total of {{ total_duration }}. +{% elif not game_available or not platform_available %} +There are no games in the database. Start by clicking "New Game" and "New Platform". +{% elif not purchase_available %} +There are no owned games. Click "New Purchase" at the top. {% else %} -Start by clicking the links at the top. To track playtime, you need to have at least 1 owned game. +You haven't played any games yet. Click "New Session" to add one now. {% endif %}
{% endblock content %} \ No newline at end of file