def href_button_action(
            self, ba, url, text=None, title=None, icon_name=NOT_GIVEN, **kw):
        """
        changed 20130905 for "Must read eID card button"
        but that caused icons to not appear in workflow_buttons.
        """
        if icon_name is NOT_GIVEN:
            icon_name = ba.action.icon_name
        if not 'style' in kw:
            if icon_name is None:
                kw.update(style="text-decoration:none")  # Experimental. Added
            else:
                kw.update(style="vertical-align:-30%;")
                                                 # 20150430
        return self.href_button(url, text, title, icon_name=icon_name, **kw)
dataset/ETHPy150Open lsaffre/lino/lino/core/renderer.py/HtmlRenderer.href_button_action/original