%perl>
my $note_img = %{ $story->get_notes } ? 'note_fill' : 'note';
my $rightText = qq{
};
$m->comp("/widgets/wrappers/sharky/table_top.mc",
caption => "Information",
number => 1,
rightText => $rightText
);
%perl>
<% $story->get_id %> |
 |
<% $story->get_element_name %> |
 |
<% $story->get_name %> |
 |
<% $story->get_description %> |
 |
<% $story->get_slug %> |
 |
<% $story->get_primary_uri %> |
 |
<% Bric::Biz::Org::Source->lookup({ id => $story->get_source__id })->get_source_name %> |
 |
<%perl>
my @cats = $story->get_categories;
my @categories;
foreach (@cats) {
push @categories, $_->get_name;
}
$m->out( join(", ", @categories));
%perl>
|
 |
<% $story->get_cover_date %> |
 |
<% $story->get_publish_date %> |
 |
<% $story->get_expire_date %> |
 |
<% $story->get_current_version %> |
 |
<% $story->get_published_version %> |
<& '/widgets/wrappers/sharky/table_bottom.mc' &>
<& '/widgets/container_prof/container_prof.mc',
tile => $tile,
tile_type => 'story',
action => 'view',
start_count => 4,
num => 2
&>
% $m->comp("/widgets/wrappers/sharky/table_top.mc",
% caption => "Associations",
% number => 3);