src/pyams_skin/table.py
changeset 301 8c71e53ccf56
parent 299 3a853ab20abb
child 304 9076b2adce67
equal deleted inserted replaced
300:9da45cf2de9d 301:8c71e53ccf56
   311                   'td': 'action switcher'}
   311                   'td': 'action switcher'}
   312 
   312 
   313     visible_icon_class = 'fa fa-fw fa-eye'
   313     visible_icon_class = 'fa fa-fw fa-eye'
   314     hidden_icon_class = 'fa fa-fw fa-eye-slash text-danger'
   314     hidden_icon_class = 'fa fa-fw fa-eye-slash text-danger'
   315 
   315 
       
   316     icon_hint = _("Switch element visibility")
       
   317 
   316     url = 'MyAMS.container.switchElementVisibility'
   318     url = 'MyAMS.container.switchElementVisibility'
   317     weight = 5
   319     weight = 5
   318 
   320 
   319     def get_icon(self, item):
   321     def get_icon(self, item):
   320         if item.visible:
   322         if item.visible: