def recentchanges_entry(self, d): """ Assemble a single recentchanges entry (table row) @param d: parameter dictionary @rtype: string @return: recentchanges entry html """ if not self.is_mobile: return ThemeBase.recentchanges_entry(self, d) _ = self.request.getText html = [] html.append('<tr>\n') # html.append('<td class="rcicon1">%(icon_html)s</td>\n' % d) html.append('<td class="rcpagelink" colspan="1">%(icon_html)s %(pagelink_html)s\n<small><i>' % d) if d['time_html']: html.append("%(time_html)s\n" % d) # html.append('<td class="rcicon2">%(info_html)s</td>\n' % d) if d['editors']: html.append('<div style="float:right;">') html.append(','.join(d['editors'])) html.append('</div>') html.append('<i></small></td>\n') # html.append('<td class="rccomment">') # if d['comments']: # if d['changecount'] > 1: # notfirst = 0 # for comment in d['comments']: # html.append('%s<tt>#%02d</tt> %s' % ( # notfirst and '<br>' or '', comment[0], comment[1])) # notfirst = 1 # else: # comment = d['comments'][0] # html.append('%s' % comment[1]) # html.append('</td>\n') html.append('</tr>\n') return ''.join(html)