##// END OF EJS Templates
hgwebdir: do not show RSS and Atom links for plain directories...
Angel Ezquerra -
r18046:40374059 default
parent child Browse files
Show More
@@ -304,7 +304,8 b' class hgwebdir(object):'
304 304 description_sort="",
305 305 lastchange=d,
306 306 lastchange_sort=d[1]-d[0],
307 archives=[])
307 archives=[],
308 isdirectory=True)
308 309
309 310 seendirs.add(name)
310 311 yield row
@@ -294,7 +294,12 b" indexentry = '"
294 294 <td>{contact|obfuscate}</td>
295 295 <td class="age">{lastchange|rfc822date}</td>
296 296 <td class="indexlinks">{archives%indexarchiveentry}</td>
297 <td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td>
297 <td>{if(isdirectory, '',
298 '<div class="rss_logo">
299 <a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a>
300 </div>'
301 )}
302 </td>
298 303 </tr>\n'
299 304 indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
300 305 index = index.tmpl
@@ -247,10 +247,11 b" indexentry = '"
247 247 <td class="age">{lastchange|rfc822date}</td>
248 248 <td class="indexlinks">{archives%indexarchiveentry}</td>
249 249 <td>
250 <div class="rss_logo">
251 <a href="{url}rss-log">RSS</a>
252 <a href="{url}atom-log">Atom</a>
253 </div>
250 {if(isdirectory, '',
251 '<div class="rss_logo">
252 <a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a>
253 </div>'
254 )}
254 255 </td>
255 256 </tr>\n'
256 257 indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
General Comments 0
You need to be logged in to leave comments. Login now