Author: acid2
Date: 2008-07-23 15:20:40 +0000 (Wed, 23 Jul 2008)
New Revision: 10154
Modified:
mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Adapter/Relations.pm
mb_server/branches/TemplateToolkit/root/css/release.css
mb_server/branches/TemplateToolkit/root/releases/full.tt
Log:
Re feedback from irc about cover artwork
Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Adapter/Relations.pm
===================================================================
--- mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Adapter/Relations.pm 2008-07-23 14:21:18 UTC (rev 10153)
+++ mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Adapter/Relations.pm 2008-07-23 15:20:40 UTC (rev 10154)
@@ -44,7 +44,7 @@
NormaliseLinkDirections(\@links, $entity->GetId, $type);
@links = SortLinks(\@links);
- return ExportLinks(\@links);
+ return ExportLinks(\@links, $entity);
}
=head2 NormaliseLinkDirections \@links, $id, $type
@@ -223,7 +223,7 @@
sub ExportLinks
{
- my $links = shift;
+ my ($links, $entity) = @_;
sub require_new_group
{
@@ -258,7 +258,7 @@
push @stashData, $currentGroup;
}
- push @{$currentGroup->{entities}}, ExportLink($link, "link1");
+ push @{$currentGroup->{entities}}, ExportLink($link, "link1", $entity);
}
return \@stashData;
Modified: mb_server/branches/TemplateToolkit/root/css/release.css
===================================================================
--- mb_server/branches/TemplateToolkit/root/css/release.css 2008-07-23 14:21:18 UTC (rev 10153)
+++ mb_server/branches/TemplateToolkit/root/css/release.css 2008-07-23 15:20:40 UTC (rev 10154)
@@ -32,7 +32,9 @@
}
div.release .artwork img {
- border: 1px dotted black;
+ border: 1px solid black;
+ max-width: 200px;
+ max-height: 200px;
}
div.release table.release_tracks {
Modified: mb_server/branches/TemplateToolkit/root/releases/full.tt
===================================================================
--- mb_server/branches/TemplateToolkit/root/releases/full.tt 2008-07-23 14:21:18 UTC (rev 10153)
+++ mb_server/branches/TemplateToolkit/root/releases/full.tt 2008-07-23 15:20:40 UTC (rev 10154)
@@ -1,5 +1,5 @@
[%- info_links = [
- { link => entity_url(release, 'perma'), text => "Permenant link" },
+ { link => entity_url(release, 'perma'), text => "Permanent link" },
{ link => entity_url(release, 'details'), text => "Details" },
{ link => entity_url(release, 'tags'), text => "Tags" },
_______________________________________________
MusicBrainz-commits mailing list
MusicBrainz-commits@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-commits