From bdfe880894a15ebcd6c9439c8b96d980c619f2f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 16 Jan 2011 20:36:23 +0100 Subject: [PATCH] =?utf8?q?Show=20=E2=80=9Cunknown=E2=80=9D=20when=20the=20?= =?utf8?q?date=20of=20the=20last=20update=20is=20not=20known.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is needed for #20. --- src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/templates/include/viewSone.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 76d8941..7b8450f 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -180,6 +180,7 @@ View.CreateSone.Button.Create=Create Sone View.CreateSone.Text.Error.NoIdentity=You have not selected an identity. View.Sone.Label.LastUpdate=Last update: +View.Sone.Text.UnknownDate=unknown View.Sone.Button.UnlockSone=unlock View.Sone.Button.UnlockSone.Tooltip=Allow this Sone to be inserted now View.Sone.Button.LockSone=lock diff --git a/src/main/resources/templates/include/viewSone.html b/src/main/resources/templates/include/viewSone.html index 8b62fa4..c403b0d 100644 --- a/src/main/resources/templates/include/viewSone.html +++ b/src/main/resources/templates/include/viewSone.html @@ -5,7 +5,7 @@
⬊
⬈
✔
-
<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">
+
<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|unknown|date format="MMM d, yyyy, HH:mm:ss">
<% sone.requestUri|substring start=4 length=43|html>
-- 2.7.4