drime

French rhyme dictionary with web and CLI interface
git clone https://a3nm.net/git/drime/
Log | Files | Refs | README

commit 4fc5e5d29752aaf6b61929d4dfa834659e5e98eb
parent a0aeed26757a807248db0dab21d5fad25ec0b660
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 20 Feb 2018 19:03:58 +0100

less wordy result

Diffstat:
templates/page.html | 13++++---------
1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/templates/page.html b/templates/page.html @@ -84,9 +84,9 @@ {% if result %} <p id="result_header"> {% if lang == 'fr' %} -Affichage de +Voici {% else %} -Displaying +Here are {% endif %} {{ displayed }} {% if lang == 'fr' %} @@ -98,16 +98,11 @@ result{% if displayed != 1 %}s{% endif %} {{ page * pagesize + 1 }} to {{ (page+1) * pagesize }} #} {% if displayed < count %} {% if lang == 'fr' %} -sur environ +sur ≈{{ count }} {% else %} -of about +of ≈{{ count }} {% endif %} {{ count }} -{% if lang == 'fr' %} -{% if count != 1 %}résultats totaux{% else %}résultat total{% endif %} -{% else %} -{% if count != 1 %}total results{% else %}total result{% endif %} -{% endif %} {% endif %} {% if lang == 'fr' %} pour&nbsp;: