Permalink
Browse files

merge revision 2272

git-svn-id: svn://svn.mongueurs.net/act/branches/stable@2273 67b57a05-4208-db11-a765-00306e02d86a
  • Loading branch information...
1 parent c706e09 commit 51792a95f6e8b49236102b6487bbdc88a820467e @maddingue maddingue committed Jul 14, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Act/Handler/Talk/Show.pm
@@ -74,18 +74,22 @@ sub handler
}
Act::Util::redirect( $Request{r}->uri );
}
+
# process the template
my $template = Act::Template::HTML->new();
+
$template->variables(
%$talk,
chunked_abstract => Act::Abstract::chunked( $talk->abstract ),
user => $user,
tags => \@tags,
attendees => Act::User->attendees($talk_id),
);
+
$template->variables(
level => $Config->talks_levels_names->[ $talk->level - 1 ],
) if $Config->talks_levels;
+
$template->process('talk/show');
}

0 comments on commit 51792a9

Please sign in to comment.