From 248c6da30dc329dee8b7b6f4dea1baf30bdcec2c Mon Sep 17 00:00:00 2001 From: Damien Broqua <dbroqua@noreply.localhost> Date: Tue, 22 Feb 2022 08:43:52 +0100 Subject: [PATCH] #issue-13 (#15) #issue-13 Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: https://git.darkou.fr/dbroqua/MyMusicLibrary/pulls/15 Co-authored-by: Damien Broqua <dbroqua@noreply.localhost> Co-committed-by: Damien Broqua <dbroqua@noreply.localhost> --- sass/ma-collection.scss | 4 ++++ views/pages/mon-compte/ma-collection.ejs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/sass/ma-collection.scss b/sass/ma-collection.scss index 646148b..85c0c0a 100644 --- a/sass/ma-collection.scss +++ b/sass/ma-collection.scss @@ -53,4 +53,8 @@ border: 2px solid #4a4a4a; } } + + .total { + margin: 1rem 0; + } } \ No newline at end of file diff --git a/views/pages/mon-compte/ma-collection.ejs b/views/pages/mon-compte/ma-collection.ejs index 6f83b71..21f1d47 100644 --- a/views/pages/mon-compte/ma-collection.ejs +++ b/views/pages/mon-compte/ma-collection.ejs @@ -69,6 +69,9 @@ </div> </div> </div> + <div class="total"> + <strong>Nombre total d'éléments : </strong>{{total}} + </div> <nav class="pagination" role="navigation" aria-label="pagination"> <a class="pagination-previous" :class="{'is-disabled': page === 1}" @click="previous">Précédent</a> <a class="pagination-next" :class="{'is-disabled': !total || (page*limit) >= total}" @click="next">Suivant</a>