File user profile fields now link to file
This commit is contained in:
parent
3c5a801a29
commit
1c92b36f5d
2 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
- fix: hover help doesn't appear for matrix fields
|
- fix: hover help doesn't appear for matrix fields
|
||||||
- Collaboration systems should always tell browser there is new content
|
- Collaboration systems should always tell browser there is new content
|
||||||
- fix: Good Bad fields not properly localized
|
- fix: Good Bad fields not properly localized
|
||||||
|
- fix: File user profile fields didn't link to the file
|
||||||
|
|
||||||
7.4.8
|
7.4.8
|
||||||
- fix: Syndicated Content doesn't display all items with multiple feeds in interleaved mode
|
- fix: Syndicated Content doesn't display all items with multiple feeds in interleaved mode
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ sub displayValue {
|
||||||
return '' unless $self->get("value");
|
return '' unless $self->get("value");
|
||||||
my $location = WebGUI::Storage->get($self->session,$self->get("value"));
|
my $location = WebGUI::Storage->get($self->session,$self->get("value"));
|
||||||
my $file = shift @{ $location->getFiles };
|
my $file = shift @{ $location->getFiles };
|
||||||
my $fileValue = sprintf qq|<img src="%s" /> %s|, $location->getFileIconUrl($file), $file;
|
my $fileValue = sprintf qq|<img src="%s" /> <a href="%s">%s</a>|, $location->getFileIconUrl($file), $location->getUrl($file), $file;
|
||||||
return $fileValue;
|
return $fileValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue