Mercurial > hg > nginx-site
view xsls/books.xsls @ 1153:4e20e4f8f49b
Finished truncation of "memory buffers" to just "buffers".
While here, fixed fallouts from 65bc9d1ec234.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 11 Apr 2014 11:11:51 +0400 |
parents | 81ad082bc837 |
children | ae713f8acaca |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> X:stylesheet { X:template = "book" { <table><tr> <td bgcolor="#EEEEEE"> <a href="{@link}"> <img src="{@cover}" alt="" style="padding: 2pt;" border="0"/> </a> </td> <td> X:text {title: } <a href="{@link}">!{@title}</a> <br/> X:text {author: } X:if "@site" { <a href="{@site}">!{@author}</a> } else { !{@author} } <br/> X:if "@translator" { X:text {translator: } !{@translator} <br/> } X:if "@publisher" { X:text {publisher: } !{@publisher} <br/> } X:text {language: } !{@lang} </td> </tr></table> } }