Mercurial > treepkg
comparison contrib/sawmill/web/templates/header.inc @ 490:73a2e603a23b
sawmill: Prepared detail view for syndication:
Added anchors for each build and added render rel link if RSS file
exists next to treepkg.xml.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 29 Sep 2010 19:25:52 +0000 |
parents | f208b139190b |
children |
comparison
equal
deleted
inserted
replaced
489:e7114ac643c3 | 490:73a2e603a23b |
---|---|
3 from xml.sax.saxutils import quoteattr | 3 from xml.sax.saxutils import quoteattr |
4 %> | 4 %> |
5 <head> | 5 <head> |
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
7 <link rel="icon" href="img/favicon.ico" type="image/x-icon"> | 7 <link rel="icon" href="img/favicon.ico" type="image/x-icon"> |
8 <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen"> | 8 <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen"><% |
9 if 'syndicate' in locals(): | |
10 # generate syndication link | |
11 %> | |
12 <link rel="alternate" type="application/rss+xml" title=<%= quoteattr(syndicate[0]) %> href=<%= quoteattr(syndicate[1])%>><% | |
13 # no syndication | |
14 %> | |
9 <title>Sägewerk - <%= escape(page_title) %></title> | 15 <title>Sägewerk - <%= escape(page_title) %></title> |
10 </head> | 16 </head> |
11 <body> | 17 <body> |
12 <table border="0" width="100%" cellspacing="0" cellpadding="0"> | 18 <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
13 <tr> | 19 <tr> |