From 042f35a481acf6c4e711e98184abb6c9f6542429 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 30 Nov 2005 08:30:24 +0000 Subject: commit --- (limited to 'korganizer/koeventviewer.cpp') diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 02b54da..607e549 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp @@ -404,6 +404,10 @@ void KOEventViewer::appendEvent(Event *event, int mode ) addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); } //addTag("p",s); + if ( !(event->alarmEnabled() ) ) { + addTag("p", "("+i18n("Enable alarm in resource settings") + ")"); + + } } addTag("p",""+i18n("Access: ") + "" + event->secrecyStr()); @@ -521,6 +525,10 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) addTag("p",i18n("Alarm on: ") + s +" "); addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); } + if ( !(event->alarmEnabled() ) ) { + addTag("p", "("+i18n("Enable alarm in resource settings") + ")"); + + } } addTag("p",""+i18n("Access: ") + "" + event->secrecyStr()); -- cgit v0.9.0.2