

def block_top_toolbar(self, context, nodes):
    recoverlist_url = self.admin_view.model_admin_url('recoverlist')
    nodes.append(mark_safe(('<div class="btn-group"><a class="btn btn-default btn-sm" href="%s"><i class="fa fa-trash-o"></i> %s</a></div>' % (context, _('Recover')))))

dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py ReversionPlugin.block_top_toolbar/VarMisuse@35/97 `recoverlist_url`->`context`