|
|
Choosing A Webhost: |
[mb-commits] r8908 - in mb_server/trunk/htdocs: comp/release css: msg#00036audio.musicbrainz.cvs
Author: luks Date: 2007-03-13 09:15:21 +0000 (Tue, 13 Mar 2007) New Revision: 8908 Modified: mb_server/trunk/htdocs/comp/release/release_end mb_server/trunk/htdocs/css/main.css Log: Move release events into a table with headers. See #2522 Modified: mb_server/trunk/htdocs/comp/release/release_end =================================================================== --- mb_server/trunk/htdocs/comp/release/release_end 2007-03-13 03:48:18 UTC (rev 8907) +++ mb_server/trunk/htdocs/comp/release/release_end 2007-03-13 09:15:21 UTC (rev 8908) @@ -126,6 +126,13 @@ % my $country_obj = MusicBrainz::Server::Country->new($release->{DBH}); <table class="eventslist"> + <tr> + <th>Date:</th> + <th>Country:</th> + <th>Label:</th> + <th>Catalog #:</th> + <th>Barcode:</th> + </tr> % my $first = 1; % for my $rel (@relevents) @@ -141,33 +148,17 @@ <tr <% $rel->GetModPending ? qq! class="mp"! : "" |n %>> <td><& /comp/releasedate, $rel &></td> - <td> - </td> <td><% $name %></td> % if ($rel->GetLabel) % { - <td> - </td> - <td><strong>Label:</strong> - <& /comp/linklabel, label => $rel->Label &> - </td> + <td><& /comp/linklabel, label => $rel->Label &></td> % } % else % { - <td colspan="2"></td> + <td>-</td> % } -% if ($rel->GetCatNo) -% { - <td> - </td> - <td><strong>Catalog #:</strong> <% $rel->GetCatNo %></td> -% } else { - <td colspan="2"></td> -% } -% if ($rel->GetBarcode) -% { - <td> - </td> - <td><strong>Barcode:</strong> <% $rel->GetBarcode %></td> -% } else { - <td colspan="2"></td> -% } + <td><% $rel->GetCatNo ? $rel->GetCatNo : "-" %></td> + <td><% $rel->GetBarcode ? $rel->GetBarcode : "-" %></td> </tr> % } Modified: mb_server/trunk/htdocs/css/main.css =================================================================== --- mb_server/trunk/htdocs/css/main.css 2007-03-13 03:48:18 UTC (rev 8907) +++ mb_server/trunk/htdocs/css/main.css 2007-03-13 09:15:21 UTC (rev 8908) @@ -658,9 +658,14 @@ border-collapse: collapse; } +table.releaseevents table.eventslist th { + text-align: left; +} + +table.releaseevents table.eventslist th, table.releaseevents table.eventslist td { border: none; - padding: 0px 6px 0px 0px; + padding: 0px 1em 0px 0px; } table.relationships {}
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r8907 - mb_server/trunk/cgi-bin, root |
|---|---|
| Next by Date: | [mb-commits] r8909 - mb_server/trunk/htdocs/comp/ar, root |
| Previous by Thread: | [mb-commits] r8907 - mb_server/trunk/cgi-bin, root |
| Next by Thread: | [mb-commits] r8909 - mb_server/trunk/htdocs/comp/ar, root |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |