merge of Matrix doc patches #1
This commit is contained in:
parent
d470a7cdd4
commit
6430a672c1
3 changed files with 119 additions and 1 deletions
|
|
@ -455,22 +455,26 @@ sub www_editListing {
|
|||
-name=>"productName",
|
||||
-value=>$listing->{productName},
|
||||
-label=>WebGUI::International::get('product name','Asset_Matrix'),
|
||||
-hoverHelp=>WebGUI::International::get('product name description','Asset_Matrix'),
|
||||
-maxLength=>25
|
||||
);
|
||||
$f->text(
|
||||
-name=>"versionNumber",
|
||||
-value=>$listing->{versionNumber},
|
||||
-label=>WebGUI::International::get('version number','Asset_Matrix'),
|
||||
-hoverHelp=>WebGUI::International::get('version number description','Asset_Matrix'),
|
||||
);
|
||||
$f->url(
|
||||
-name=>"productUrl",
|
||||
-value=>$listing->{productUrl},
|
||||
-label=>WebGUI::International::get('product url','Asset_Matrix'),
|
||||
-hoverHelp=>WebGUI::International::get('product url description','Asset_Matrix'),
|
||||
);
|
||||
$f->text(
|
||||
-name=>"manufacturerName",
|
||||
-value=>$listing->{manufacturerName},
|
||||
-label=>WebGUI::International::get('manufacturer name','Asset_Matrix'),
|
||||
-hoverHelp=>WebGUI::International::get('manufacturer name description','Asset_Matrix'),
|
||||
);
|
||||
$f->url(
|
||||
-name=>"manufacturerUrl",
|
||||
|
|
@ -488,6 +492,7 @@ sub www_editListing {
|
|||
-value=>[$listing->{maintainerId}],
|
||||
-label=>WebGUI::International::get('listing maintainer','Asset_Matrix'),
|
||||
-options=>$self->session->db->buildHashRef("select userId,username from users order by username")
|
||||
-hoverHelp=>WebGUI::International::get('listing maintainer description','Asset_Matrix'),
|
||||
);
|
||||
}
|
||||
my %goodBad = (
|
||||
|
|
@ -518,7 +523,7 @@ sub www_editListing {
|
|||
-subtext=>"<br />".$field->{description}
|
||||
);
|
||||
} elsif ($field->{fieldType} eq "goodBad") {
|
||||
my $value = ($field->{value} || $field->{defaultValue} || "No");
|
||||
my $value = ($field->{value} || $field->{defaultValue} || WebGUI::International::get("no",'Asset_Matrix'));
|
||||
$f->selectBox(
|
||||
-name=>$field->{name},
|
||||
-value=>[$value],
|
||||
|
|
|
|||
|
|
@ -94,6 +94,62 @@ our $HELP = {
|
|||
},
|
||||
],
|
||||
},
|
||||
'listing add/edit' => {
|
||||
title => 'listing add/edit help title',
|
||||
body => 'listing add/edit help body',
|
||||
fields => [
|
||||
{
|
||||
title => 'product name',
|
||||
description => 'product name description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'version number',
|
||||
description => 'version number description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'product url',
|
||||
description => 'product url description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'manufacturer name',
|
||||
description => 'manufacturer name description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'manufacturer url',
|
||||
description => 'manufacturer url description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'description',
|
||||
description => 'description description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'listing maintainer',
|
||||
description => 'listing maintainer description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
{
|
||||
title => 'matrix specific fields',
|
||||
description => 'matrix specific fields description',
|
||||
namespace => 'Asset_Matrix',
|
||||
},
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'matrix add/edit',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{
|
||||
tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
'search template' => {
|
||||
title => 'search template help title',
|
||||
body => 'search template help body',
|
||||
|
|
|
|||
|
|
@ -995,6 +995,63 @@ our $I18N = {
|
|||
message => q|Limited|
|
||||
},
|
||||
|
||||
'listing add/edit help title' => {
|
||||
lastUpdated => 1136488382,
|
||||
message => q|Matrix Listing, Add/Edit|
|
||||
},
|
||||
|
||||
'listing add/edit help body' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|In this form, you may add a listing in the Matrix for a new product or edit the listing for an existing product.|
|
||||
},
|
||||
|
||||
'product name description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Enter the name of the product. If there are entries for the product with different revisions, it would be best to make sure the names are the same.|
|
||||
},
|
||||
|
||||
'version number description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Enter the release or version number for the product.|
|
||||
},
|
||||
|
||||
'product url description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|If the product has its own website, enter the complete URL for it here.|
|
||||
},
|
||||
|
||||
'manufacturer name description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Enter the manufacturer of the product.|
|
||||
},
|
||||
|
||||
'manufacturer url description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|If the manufacturer has a website, enter the complete URL for it here.|
|
||||
},
|
||||
|
||||
'description description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Please give a general description of the product. Specific details can be rated in the form fields below.|
|
||||
},
|
||||
|
||||
'listing maintainer description' => {
|
||||
lastUpdated => 1136488950,
|
||||
message => q|If left blank, this will be the name of the user who created this product listing. The
|
||||
listing maintainer is allowed to edit this listing, even if they are not members of the group
|
||||
to add or edit listings.|
|
||||
},
|
||||
|
||||
'matrix specific fields description' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Each matrix is configured to compare the features and performance of various products. These features and performance criteria are displayed for you to rate on an item by item basis.|
|
||||
},
|
||||
|
||||
'matrix specific fields' => {
|
||||
lastUpdated => 1135279558,
|
||||
message => q|Matrix Specific Fields|
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue