LOG.debug("Row template:\n{}".format(tpl))
self.print_out(tpl.format(**output_data))
+ if module_info.forge_superseded_by:
+ txt = _("Module {o!r} is deprecated and should be substituted by {sb}{n!r}{eb}.")
+ txt = txt.format(
+ o=module_info.full_name, sb='<b>', eb='</b>', n=module_info.forge_superseded_by)
+ tpl = ' <tr>\n'
+ tpl += ' <th class="l h confluenceTh"> </th>\n'
+ tpl += ' <td class="{line_class} confluenceTd" colspan="8">{txt}</td>\n'
+ tpl += ' </tr>'
+ self.print_out(tpl.format(line_class=line_class, txt=txt))
+
self.print_out(" </tbody>")
self.print_out("</table>")
self.print_out(tpl.format(**output_data))
if module_info.forge_superseded_by:
- txt = _("Module {o!r} is deprecated and should be substituted by {n!r}.").format(
- o=module_info.full_name, n=module_info.forge_superseded_by)
+ txt = _("Module {o!r} is deprecated and should be substituted by {sb}{n!r}{eb}.")
+ txt = txt.format(
+ o=module_info.full_name, sb='', eb='', n=module_info.forge_superseded_by)
self.print_out(tpl_superseded.format(empty='', txt=txt))
self.print_out()