From 5d2674801ae42f0b89bf6d5007958ae8a5e20d82 Mon Sep 17 00:00:00 2001 From: e2298 Date: Mon, 13 Jul 2020 23:26:26 -0600 Subject: [PATCH] adding text pointing people to the add game/ show unpublished options after a succesful search --- templates/games/game_list.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/templates/games/game_list.html b/templates/games/game_list.html index 34c20930..1de45557 100644 --- a/templates/games/game_list.html +++ b/templates/games/game_list.html @@ -53,11 +53,23 @@

Games {{ paginator.count }} entries
{% if games %} -
    - {% for game in games %} - {% include "includes/game_preview.html" %} - {% endfor %} -
+
    + {% for game in games %} + {% include "includes/game_preview.html" %} + {% endfor %} +
+
+

Didn't find what you're looking for?

+ {% if unpublished_filter %} +

+ Feel free to add the game to our database. +

+ {% else %} +

+ Try looking in unpublished games. +

+ {% endif %} +
{% else %}