diff --git a/views/contest/index.pug b/views/contest/index.pug index 5ba6802..8e33906 100644 --- a/views/contest/index.pug +++ b/views/contest/index.pug @@ -23,7 +23,8 @@ block content tr td #{index + 1} td #{team.name} - td #{team.captain} + td + a(href="/log/" + team.captain) #{team.captain.replace("@readingplus.com", "")} td #{team.points} .row @@ -42,7 +43,7 @@ block content td #{index + 1} td - a(href="/log/" + user.name) #{user.name} + a(href="/log/" + user.name) #{user.name.replace("@readingplus.com", "")} td #{user.team} td #{user.points} hr diff --git a/views/home.pug b/views/home.pug index a923413..4404676 100644 --- a/views/home.pug +++ b/views/home.pug @@ -27,9 +27,9 @@ block content tbody each entry in entriesToday tr - td #{moment(entry.created).format('hh:mm a')} + td #{moment(entry.created).local().format('hh:mm a')} td - a(href="/log/" + entry.user) #{entry.user} + a(href="/log/" + entry.user) #{entry.user.replace("@readingplus.com", "")} td #{entry.activity} td #{entry.points}