Reformat Wobject template variables to use the new Help based template variable system.
Break TimeTracking i18n into paragraphs for easy parsing. Add missing comment line to break POD and paragraphs in Operation/Help
This commit is contained in:
parent
5268ffda5c
commit
af29303c31
4 changed files with 72 additions and 44 deletions
|
|
@ -120,6 +120,8 @@ sub _linkTOC {
|
|||
return $session->url->page('op=viewHelpChapter;namespace='.$_[0]);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 _getHelpFilesList ( $session )
|
||||
|
||||
Utility routine for returning a list of all Help files in the lib/WebGUI/Help folder.
|
||||
|
|
@ -302,7 +304,7 @@ sub _getTemplateVars {
|
|||
}
|
||||
push ( @{$template}, {
|
||||
title => $row->{name},
|
||||
description=> $i18n->get($row->{description} || $row->{name}, $row->{namespace}),
|
||||
description=> $i18n->get(($row->{description} || $row->{name}), $row->{namespace}),
|
||||
$label => $indent
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue