Improve newcomer experience
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
89be0c031b
commit
8efce77062
|
@ -1,4 +1,5 @@
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
* Improve the newcomer experience by guiding through each step
|
||||||
* Fix errors with empty database
|
* Fix errors with empty database
|
||||||
* Fix negative playtimes being considered positive
|
* Fix negative playtimes being considered positive
|
||||||
* Add %d for days to common.util.time.format_duration
|
* Add %d for days to common.util.time.format_duration
|
||||||
|
|
|
@ -6,8 +6,12 @@
|
||||||
<div class="text-slate-300 mx-auto max-w-screen-lg text-center">
|
<div class="text-slate-300 mx-auto max-w-screen-lg text-center">
|
||||||
{% if session_count > 0 %}
|
{% if session_count > 0 %}
|
||||||
You have played a total of {{ session_count }} sessions for a total of {{ total_duration }}.
|
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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
Loading…
Reference in New Issue