summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-29 22:07:44 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-29 22:07:44 +0200
commit67516a61caf036798e83ea9287a1095f156ad894 (patch)
tree97914f478d6136e834c9ac91144e9b3b77a5eb0f /src
parent94a1cff1bd2d0e1ce7b362e067c94193b980202f (diff)
Include event text
Diffstat (limited to 'src')
-rw-r--r--src/page_main.cc4
1 files changed, 3 insertions, 1 deletions
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 <string>
#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("</h1>");
+ page.write("<p>");
+ page.write_safe(event->text());
+ page.write("</p>");
std::vector<Event::Going> going;
event->going(&going);
int8_t state = 0;