Mercurial > hg > nginx-site
comparison xsls/news.xsls @ 134:0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Additionally, moved all formatting into CSS where it should be.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 21 Oct 2011 21:16:08 +0000 |
parents | 364a3ee4526f |
children | 9085f0c59dc6 |
comparison
equal
deleted
inserted
replaced
133:364a3ee4526f | 134:0991bf45cbb8 |
---|---|
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 X:if "(not($YEAR) and ($year = $y or position() < 11)) or $YEAR=$y" { | 54 X:if "(not($YEAR) and ($year = $y or position() < 11)) or $YEAR=$y" { |
55 <tr> | 55 <tr> |
56 <td align="right" width="15%"> | 56 <td class="date"> |
57 <a name="{@date}" /> !{@date} X:text {  } | 57 <a name="{@date}" /> !{@date} |
58 </td> | 58 </td> |
59 <td> !! "para"; </td> | 59 <td> !! "para"; </td> |
60 </tr> | 60 </tr> |
61 } | 61 } |
62 | 62 |