From 67516a61caf036798e83ea9287a1095f156ad894 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 29 Jun 2015 22:07:44 +0200 Subject: Include event text --- src/page_main.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/page_main.cc b/src/page_main.cc index a169a98..b7f8b75 100644 --- a/src/page_main.cc +++ b/src/page_main.cc @@ -7,7 +7,6 @@ #include #include "auth.hh" -// #include "cookies.hh" #include "cgi.hh" #include "config.hh" #include "db.hh" @@ -144,6 +143,9 @@ bool show(CGI* cgi, EventUtils* utils, const std::string& user) { page.write(" @ "); page.write_safe(EventUtils::format_date(event->start())); page.write(""); + page.write("

"); + page.write_safe(event->text()); + page.write("

"); std::vector going; event->going(&going); int8_t state = 0; -- cgit v1.2.3-70-g09d2