Template fixes
authorclinton <clinton@unknownlamer.org>
Mon, 29 Sep 2008 01:41:09 +0000 (01:41 +0000)
committerclinton <clinton@unknownlamer.org>
Mon, 29 Sep 2008 01:41:09 +0000 (01:41 +0000)
* Muse does not like "<class></class> and so insert a space in each
  potentially empty <class> to prevent invalid xhtml generation
* Readd numerical rating after dots that I missed when converting

templates/book-list.template

index f316945..d0d83c9 100644 (file)
@@ -7,7 +7,7 @@
 <!-- TMPL_LOOP books -->
 ** <!-- TMPL_VAR title -->
 
-<!-- TMPL_IF ratingp -->*Rating:* <class name="rating-good"><!-- TMPL_REPEAT rating-good -->•<!-- /TMPL_REPEAT --></class><class name="rating-bad"><!-- TMPL_REPEAT rating-bad -->•<!-- /TMPL_REPEAT --></class><!-- /TMPL_IF --> / *<!-- TMPL_VAR classification -->*
+<!-- TMPL_IF ratingp -->*Rating:* <class name="rating-good"> <!-- TMPL_REPEAT rating-good -->•<!-- /TMPL_REPEAT --></class><class name="rating-bad"><!-- TMPL_REPEAT rating-bad -->•<!-- /TMPL_REPEAT --> </class> (<!-- TMPL_VAR rating-good -->) / <!-- /TMPL_IF -->*<!-- TMPL_VAR classification -->*
 
 <!-- TMPL_IF description --><!-- TMPL_VAR description --><!-- /TMPL_IF -->