comparison MoinMoin/theme/__init__.py @ 30:221912bf8efa

save some screen space for RC imported from: moin--main--1.5--patch-31
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 24 Sep 2005 18:56:58 +0000
parents aee8b13fbb0b
children 55ff4feb0f59
comparison
equal deleted inserted replaced
29:8d382149e552 30:221912bf8efa
1199 u'</a>', 1199 u'</a>',
1200 u'</div>', 1200 u'</div>',
1201 ] 1201 ]
1202 html += ''.join(link) 1202 html += ''.join(link)
1203 html += '<p>' 1203 html += '<p>'
1204 if d['rc_update_bookmark']:
1205 html += "%(rc_update_bookmark)s %(rc_curr_bookmark)s<br>" % d
1206
1207 # Add day selector 1204 # Add day selector
1208 if d['rc_days']: 1205 if d['rc_days']:
1209 days = [] 1206 days = []
1210 for day in d['rc_days']: 1207 for day in d['rc_days']:
1211 if day == d['rc_max_days']: 1208 if day == d['rc_max_days']:
1215 wikiutil.link_tag(self.request, 1212 wikiutil.link_tag(self.request,
1216 '%s?max_days=%d' % (d['q_page_name'], day), 1213 '%s?max_days=%d' % (d['q_page_name'], day),
1217 str(day))) 1214 str(day)))
1218 days = ' | '.join(days) 1215 days = ' | '.join(days)
1219 html += (_("Show %s days.") % (days,)) 1216 html += (_("Show %s days.") % (days,))
1217
1218 if d['rc_update_bookmark']:
1219 html += " %(rc_update_bookmark)s %(rc_curr_bookmark)s" % d
1220
1220 html += '</p>\n</div>\n' 1221 html += '</p>\n</div>\n'
1221 1222
1222 html += '<table>\n' 1223 html += '<table>\n'
1223 return html 1224 return html
1224 1225