basic help commit version tag

This commit is contained in:
Colin Kuskie 2006-05-24 04:20:31 +00:00
parent 858dc2793a
commit 706fecfedd
3 changed files with 51 additions and 0 deletions

View file

@ -7,6 +7,10 @@ our $HELP = {
fields => [
],
related => [
{
tag => 'commit version tag',
namespace => 'VersionTag'
},
{
tag => 'manage pending versions',
namespace => 'VersionTag'
@ -35,6 +39,33 @@ our $HELP = {
],
},
'commit version tag' => {
title => 'commit version tag',
body => 'commit version tag body',
fields => [
{
title => 'version tag name',
description => 'version tag name description commit',
namespace => 'VersionTag',
},
{
title => 'comments',
description => 'comments description commit',
namespace => 'VersionTag',
},
],
related => [
{
tag => 'versions manage',
namespace => 'VersionTag'
},
{
tag => 'manage committed versions',
namespace => 'VersionTag'
},
],
},
'manage committed versions' => {
title => 'manage committed versions',
body => 'manage committed versions body',

View file

@ -191,6 +191,7 @@ sub www_commitVersionTag {
$f->submit;
$f->readOnly(
label=>$i18n->get("version tag name"),
hoverHelp=>$i18n->get("version tag name description commit"),
value=>$tag->get("name")
);
$f->hidden(
@ -204,9 +205,11 @@ sub www_commitVersionTag {
$f->textarea(
name=>"comments",
label=>$i18n->get("comments")
hoverHelp=>$i18n->get("comments description commit")
);
$f->submit;
my $ac = WebGUI::AdminConsole->new($session,"versions");
$ac->setHelp('commit version tag', 'VersionTag');
return $ac->render($f->print);
}
}

View file

@ -35,6 +35,12 @@ our $I18N = {
context => q|hover help for the comments field|
},
'comments description commit' => {
message => q|Attach any comments or feedback to this tag that you wish. They will be available to anyone looking at this tag in the future as reference.|,
lastUpdated => 0,
context => q|hover help for the comments field|
},
'deny' => {
message => q|Deny|,
lastUpdated => 0,
@ -280,6 +286,11 @@ our $I18N = {
lastUpdated => 1129403469,
},
'version tag name description commit' => {
message => q|<p>The name of the version tag you are about to commit.</p>|,
lastUpdated => 1129403469,
},
'content versioning' => {
message => q|Content Versioning|,
lastUpdated => 0,
@ -334,6 +345,12 @@ our $I18N = {
lastUpdated => 1148359381,
},
'commit version tag body' => {
message => q|<p>Committing the version tag will make it the current version that is used and displayed on your website.</p>
|,
lastUpdated => 1148444236,
},
'topicName' => {
message => q|Version Control|,
lastUpdated => 1148360141,