Add a duplicate story template to be used for the Topic.
This commit is contained in:
parent
2bd7a60a01
commit
8914b0e14e
2 changed files with 1 additions and 35 deletions
Binary file not shown.
|
|
@ -58,7 +58,7 @@ sub definition {
|
||||||
hoverHelp => $i18n->get('story template help'),
|
hoverHelp => $i18n->get('story template help'),
|
||||||
filter => 'fixId',
|
filter => 'fixId',
|
||||||
namespace => 'Story',
|
namespace => 'Story',
|
||||||
defaultValue => '',
|
defaultValue => 'liNZSK4xWGyALU6nu_criw',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
push(@{$definition}, {
|
push(@{$definition}, {
|
||||||
|
|
@ -73,22 +73,6 @@ sub definition {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
|
||||||
|
|
||||||
=head2 duplicate ( )
|
|
||||||
|
|
||||||
duplicates a New Wobject. This method is unnecessary, but if you have
|
|
||||||
auxiliary, ancillary, or "collateral" data or files related to your
|
|
||||||
wobject instances, you will need to duplicate them here.
|
|
||||||
|
|
||||||
=cut
|
|
||||||
|
|
||||||
sub duplicate {
|
|
||||||
my $self = shift;
|
|
||||||
my $newAsset = $self->SUPER::duplicate(@_);
|
|
||||||
return $newAsset;
|
|
||||||
}
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 prepareView ( )
|
=head2 prepareView ( )
|
||||||
|
|
@ -128,24 +112,6 @@ sub view {
|
||||||
return $self->processTemplate($var, undef, $self->{_viewTemplate});
|
return $self->processTemplate($var, undef, $self->{_viewTemplate});
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
|
||||||
|
|
||||||
=head2 www_edit ( )
|
|
||||||
|
|
||||||
Web facing method which is the default edit page. This method is entirely
|
|
||||||
optional. Take it out unless you specifically want to set a submenu in your
|
|
||||||
adminConsole views.
|
|
||||||
|
|
||||||
=cut
|
|
||||||
|
|
||||||
#sub www_edit {
|
|
||||||
# my $self = shift;
|
|
||||||
# return $self->session->privilege->insufficient() unless $self->canEdit;
|
|
||||||
# return $self->session->privilege->locked() unless $self->canEditIfLocked;
|
|
||||||
# my $i18n = WebGUI::International->new($self->session, "Asset_NewWobject");
|
|
||||||
# return $self->getAdminConsole->render($self->getEditForm->print, $i18n->get("edit title"));
|
|
||||||
#}
|
|
||||||
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
#vim:ft=perl
|
#vim:ft=perl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue