librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1281] Improve random group (add RDFa, make image clic


From: Toby Inkster
Subject: [Librefm-commits] [1281] Improve random group (add RDFa, make image clickable); remove album art from 'coming soon' as it arrived some time ago.
Date: Thu, 07 May 2009 17:08:54 +0000

Revision: 1281
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1281
Author:   tobyink
Date:     2009-05-07 17:08:53 +0000 (Thu, 07 May 2009)
Log Message:
-----------
Improve random group (add RDFa, make image clickable); remove album art from 
'coming soon' as it arrived some time ago.

Modified Paths:
--------------
    trunk/nixtape/themes/librefm/templates/footer.tpl

Modified: trunk/nixtape/themes/librefm/templates/footer.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/footer.tpl   2009-05-07 16:09:06 UTC 
(rev 1280)
+++ trunk/nixtape/themes/librefm/templates/footer.tpl   2009-05-07 17:08:53 UTC 
(rev 1281)
@@ -26,13 +26,13 @@
 
        {if $random_group}
            <h4>Featured group</h4>
-           <p>
-               <img src="{$random_group->getAvatar()}" alt=""
-               height="32" width="32" style="margin: 0 0.67em 0.33em 
0;float:left" />
-               <a href="{$random_group->getURL()|escape:'html':'UTF-8'}"
-                       
><b>{$random_group->fullname|escape:'html':'UTF-8'}</b></a>
+           <p style="margin:1em auto" about="{$random_group->id}" 
typeof="foaf:Group">
+               <a rel="foaf:homepage" 
href="{$random_group->getURL()|escape:'html':'UTF-8'}">
+                       <img src="{$random_group->getAvatar()}" 
rev="foaf:depiction" resource="{$random_group->id}"
+                       alt="" height="32" width="32" style="margin: 0 0.67em 
0.33em 0;float:left;border:0" />
+                       <b about="{$random_group->id}" property="foaf:name">{if 
$random_group->fullname}{$random_group->fullname|escape:'html':'UTF-8'}{else}{$random_group->name|escape:'html':'UTF-8'}{/if}</b></a>
                <br />
-               <small>{$random_group->bio|escape:'html':'UTF-8'}</small>
+               <small 
property="olb:bio">{$random_group->bio|escape:'html':'UTF-8'}</small>
                <br style="clear:left" />
            </p>
        {/if}
@@ -43,7 +43,6 @@
            <li>Improved streaming support</li>
            <li>Events</li>
            <li>Improved artist pages</li>
-           <li>Album art</li>
            </ul>
 
            <h3>Developers</h3>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]