fixed: Collaboration RSS link in header doesn't indicate title

This commit is contained in:
Graham Knop 2008-06-11 19:17:15 +00:00
parent e1ee11649c
commit 24c42e33ab
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.5.11
- fixed: Collaboration RSS link in header doesn't indicate title
- fixed: edit branch can't update URLs on most assets
- Replaced Cool Menus nav with a YUI Menu, which works and looks better.
- Replaced dtree javascript with YUI TreeView.

View file

@ -1170,7 +1170,7 @@ sub prepareView {
my $self = shift;
$self->SUPER::prepareView();
my $template = WebGUI::Asset::Template->new($self->session, $self->get("collaborationTemplateId")) or die "no good: ".$self->get("collaborationTemplateId");
$self->session->style->setLink($self->getRssUrl,{ rel=>'alternate', type=>'application/rss+xml', title=>'RSS' });
$self->session->style->setLink($self->getRssUrl,{ rel=>'alternate', type=>'application/rss+xml', title=>$self->get('title') . ' RSS' });
$template->prepare;
$self->{_viewTemplate} = $template;
}