forward port of doc work
This commit is contained in:
parent
eabeaee356
commit
16c6b4f989
4 changed files with 83 additions and 3 deletions
|
|
@ -107,35 +107,41 @@ sub getEditForm {
|
|||
$tabform->getTab("properties")->textarea(
|
||||
-name=>"statusList",
|
||||
-label=>$i18n->get(1),
|
||||
-hoverHelp=>$i18n->get('1 description'),
|
||||
-value=>$self->getValue("statusList"),
|
||||
-subtext=>$i18n->get(2),
|
||||
);
|
||||
$tabform->getTab("display")->integer(
|
||||
-name=>"paginateAfter",
|
||||
-label=>$i18n->get(12),
|
||||
-value=>$self->getValue("paginateAfter")
|
||||
-hoverHelp=>$i18n->get('12 description'),
|
||||
-value=>$self->getValue("paginateAfter"),
|
||||
);
|
||||
$tabform->getTab("display")->template (
|
||||
-name => "inOutTemplateId",
|
||||
-value => $self->getValue("inOutTemplateId"),
|
||||
-label => $i18n->get("In Out Template"),
|
||||
-hoverHelp => $i18n->get("In Out Template description"),
|
||||
-namespace => "InOutBoard"
|
||||
);
|
||||
$tabform->getTab("display")->template (
|
||||
-name => "reportTemplateId",
|
||||
-value => $self->getValue("reportTemplateId"),
|
||||
-label => $i18n->get(13),
|
||||
-hoverHelp => $i18n->get("13 description"),
|
||||
-namespace => "InOutBoard/Report"
|
||||
);
|
||||
$tabform->getTab("security")->group(
|
||||
-name=>"reportViewerGroup",
|
||||
-value=>[$self->getValue("reportViewerGroup")],
|
||||
-label=>$i18n->get(3)
|
||||
-hoverHelp=>$i18n->get("3 description"),
|
||||
);
|
||||
$tabform->getTab("security")->group(
|
||||
-name=>"inOutGroup",
|
||||
-value=>[$self->getValue("inOutGroup")],
|
||||
-label=>$i18n->get('inOutGroup')
|
||||
-hoverHelp=>$i18n->get('inOutGroup description'),
|
||||
);
|
||||
return $tabform;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,38 @@ our $HELP = {
|
|||
'in out board add/edit' => {
|
||||
title => '18',
|
||||
body => '19',
|
||||
fields => [
|
||||
{
|
||||
title => '1',
|
||||
description => '1 description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
{
|
||||
title => '12',
|
||||
description => '12 description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
{
|
||||
title => 'In Out Template',
|
||||
description => 'In Out Template description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
{
|
||||
title => '13',
|
||||
description => '13 description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
{
|
||||
title => '3',
|
||||
description => '3 description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
{
|
||||
title => 'inOutGroup',
|
||||
description => 'inOutGroup description',
|
||||
namespace => 'Asset_InOutBoard',
|
||||
},
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => '2',
|
||||
|
|
|
|||
|
|
@ -390,6 +390,7 @@ sub www_editCommerceSettings {
|
|||
# general
|
||||
$tabform->getTab('general')->template(
|
||||
-name => 'commerceConfirmCheckoutTemplateId',
|
||||
-value => $session{setting}{commerceConfirmCheckoutTemplateId},
|
||||
-label => $i18n->get('confirm checkout template'),
|
||||
-hoverHelp => $i18n->get('confirm checkout template description'),
|
||||
-value => $session->setting->get("commerceConfirmCheckoutTemplateId"),
|
||||
|
|
@ -399,7 +400,7 @@ sub www_editCommerceSettings {
|
|||
-name => 'commerceTransactionErrorTemplateId',
|
||||
-label => $i18n->get('transaction error template'),
|
||||
-hoverHelp => $i18n->get('transaction error template description'),
|
||||
-value => $session->setting->get("commerceTransactionPendingTemplateId"),
|
||||
-value => $session{setting}{commerceTransactionPendingTemplateId},
|
||||
-namespace => 'Commerce/TransactionError'
|
||||
);
|
||||
$tabform->getTab('general')->template(
|
||||
|
|
@ -407,6 +408,7 @@ sub www_editCommerceSettings {
|
|||
-label => $i18n->get('checkout canceled template'),
|
||||
-hoverHelp => $i18n->get('checkout canceled template description'),
|
||||
-value => $session->setting->get("commerceCheckoutCanceledTemplateId"),
|
||||
-hoverHelp => $i18n->get('checkout canceled template description'),
|
||||
-namespace => 'Commerce/CheckoutCanceled'
|
||||
);
|
||||
$tabform->getTab('general')->template(
|
||||
|
|
@ -414,6 +416,7 @@ sub www_editCommerceSettings {
|
|||
-label => $i18n->get('checkout select payment template'),
|
||||
-hoverHelp => $i18n->get('checkout select payment template description'),
|
||||
-value => $session->setting->get("commerceSelectPaymentGatewayTemplateId"),
|
||||
-hoverHelp => $i18n->get('checkout select payment template description'),
|
||||
-namespace => 'Commerce/SelectPaymentGateway'
|
||||
);
|
||||
$tabform->getTab('general')->template(
|
||||
|
|
@ -421,6 +424,7 @@ sub www_editCommerceSettings {
|
|||
-label => $i18n->get('checkout select shipping template'),
|
||||
-hoverHelp => $i18n->get('checkout select shipping template description'),
|
||||
-value => $session->setting->get("commerceSelectShippingMethodTemplateId"),
|
||||
-hoverHelp => $i18n->get('checkout select shipping template description'),
|
||||
-namespace => 'Commerce/SelectShippingMethod'
|
||||
);
|
||||
$tabform->getTab('general')->template(
|
||||
|
|
@ -428,6 +432,7 @@ sub www_editCommerceSettings {
|
|||
-label => $i18n->get('view shopping cart template'),
|
||||
-hoverHelp => $i18n->get('view shopping cart template description'),
|
||||
-value => $session->setting->get("commerceViewShoppingCartTemplateId"),
|
||||
-hoverHelp => $i18n->get('view shopping cart template description'),
|
||||
-namespace => 'Commerce/ViewShoppingCart'
|
||||
);
|
||||
|
||||
|
|
@ -436,6 +441,7 @@ sub www_editCommerceSettings {
|
|||
-label => $i18n->get('daily report email'),
|
||||
-hoverHelp => $i18n->get('daily report email description'),
|
||||
-value => $session->setting->get("commerceSendDailyReportTo")
|
||||
-hoverHelp => $i18n->get('daily report email description'),
|
||||
);
|
||||
|
||||
# Check which payment plugins will compile, and load them.
|
||||
|
|
|
|||
|
|
@ -34,8 +34,44 @@ our $I18N = {
|
|||
lastUpdated =>1091624565
|
||||
},
|
||||
|
||||
'1 description' => {
|
||||
message => q|The status list allows you to customize what the 'states' of a user are. i.e., 'In' or 'Out'.|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'12 description' => {
|
||||
message => q|How many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'In Out Template description' => {
|
||||
message => q|Choose a template to style the display of the In/Out Board to users.|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'13 description' => {
|
||||
message => q|Choose a template to style the display of the In/Out Board Report.|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'3 description' => {
|
||||
message => q|Which groups are allowed to view reports generated by the In/Out Board Wobject?|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'inOutGroup description' => {
|
||||
message => q|Whichs groups are allowed to use this In/Out Board to change their status?|,
|
||||
lastUpdated => 1138988640,
|
||||
},
|
||||
|
||||
'19' => {
|
||||
message => q|An In/Out board is used to keep track of whether people are currently in/out of the office. It shows the current In/Out status of all WebGUI users and also logs the event the person has left for, the time they left and the time they return. <P><B>Status List</B><BR>The status list allows you to customize what the 'states' of a user are. i.e., 'In' or 'Out'. <P><B>Paginate After</B><BR>How many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page? <P><B>Report Paginate After</B><BR>Same as paginate after except that it controls the number of rows displayed in the In/Out Report. <P><B>Who Can View Reports?</B><BR>What group is allowed to view reports generated by the In/Out Board Wobject. <P></P>|,
|
||||
message => q|<p>
|
||||
An In/Out board is used to keep track of whether people are currently
|
||||
in/out of the office. It shows the current In/Out status of all WebGUI
|
||||
users and also logs the reason the person has left, the time they
|
||||
left and the time they return. The log
|
||||
</p>
|
||||
|,
|
||||
lastUpdated =>1091624565
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue