Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeventviewer.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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", "<em>("+i18n("Enable alarm in resource settings") + ")</em>"); + + } } addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); @@ -521,6 +525,10 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) addTag("p",i18n("<b>Alarm on: ") + s +" </b>"); addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); } + if ( !(event->alarmEnabled() ) ) { + addTag("p", "<em>("+i18n("Enable alarm in resource settings") + ")</em>"); + + } } addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); |