use same logic as for regular discussion links
parent
912521ef07
commit
ef165d652e
|
@ -157,7 +157,7 @@ sub preprocess_inline (@) { #{{{
|
|||
if ($actions) {
|
||||
my $file = $pagesources{$page};
|
||||
my $type = pagetype($file);
|
||||
if ($config{discussion}) {
|
||||
if ($config{discussion} && (length $config{cgiurl} || exists $links{$page."/".gettext("discussion")})) {
|
||||
$template->param(have_actions => 1);
|
||||
$template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue