@presentation.render_for(Board, model="archived_item")
def render_Board_archived_item(self, h, comp, *args):
    with h.li:
        h << h.a(self.data.title, href='#', class_="boardItemLabel")

        if security.has_permissions('manage', self):
            with h.div(class_='actions'):
                onclick = 'return confirm("%s")' - _("This board will be destroyed. Are you sure?")
                h << h.SyncRenderer().a(h.i(class_='ico-btn icon-trashcan'), class_='delete', title=_(u'Delete this board'), onclick=onclick).action(self.delete_clicked, comp)
                h << h.a(h.i(class_='ico-btn icon-box-remove'), class_='restore', title=_(u'Restore this board')).action(self.restore, comp)
    return h.root
dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py/render_Board_archived_item/operator `%` -> `-`