def steps_information(self, databaseregionmigration):
        current_step = databaseregionmigration.current_step + 1
        steps_len = str(len(databaseregionmigration.get_steps()) - 1)
        html = "<a href='../databaseregionmigrationdetail/?database_region_migration={}'>{}</a>"
        information = '{} of {}'.format(current_step, steps_len)

        if current_step > int(steps_len):
            html = '<center>-</center>'
        else:
            html = html.format(databaseregionmigration.id, information)

        return format_html(html)
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/region_migration/admin/databaseregionmigration.py/DatabaseRegionMigrationAdmin.steps_information/original