From 5ed4236a2227cd9037e2d4d5fa9680c4dff1b9e7 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 18 Feb 2018 08:33:14 -0800 Subject: [PATCH] "Commit" if only one commit behind --- data/interfaces/default/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index 9496dc0f..bf8a7f8c 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -57,7 +57,7 @@ % else: @@ -327,7 +327,7 @@ ${next.modalIncludes()} $('#updatebar').html(msg).fadeIn(); } else if (result.update === true && result.release === false) { msg = 'A newer version of Tautulli is available!
' + - 'You are '+ result.commits_behind + ' commits behind.
' + + 'You are '+ result.commits_behind + ' commit' + (result.commits_behind > 1 ? 's' : '') + ' behind.
' + 'Update or Dismiss'; $('#updatebar').html(msg).fadeIn(); } else if (result.update === false) {