liquid_feedback_frontend

diff app/main/member/_show_thumb.lua @ 1606:dcbe505ddf24

Removed old views, removed Silk icon set, removed emoticons
author bsw
date Mon Feb 01 21:25:34 2021 +0100 (2021-02-01)
parents 64229f002a47
children 20c1c8cc28ba
line diff
     1.1 --- a/app/main/member/_show_thumb.lua	Mon Feb 01 21:02:47 2021 +0100
     1.2 +++ b/app/main/member/_show_thumb.lua	Mon Feb 01 21:25:34 2021 +0100
     1.3 @@ -101,14 +101,8 @@
     1.4      end
     1.5  
     1.6      if (member.voter_comment) then
     1.7 -      ui.image{
     1.8 -        attr = { 
     1.9 -          alt   = _"Voting comment available",
    1.10 -          title = _"Voting comment available",
    1.11 -          class = "icon24 right"
    1.12 -        },
    1.13 -        static = "icons/16/comment.png"
    1.14 -      }
    1.15 +      local text = _"Voting comment available",
    1.16 +      ui.tag{ tag = "i", attr = { class = "material-icons" }, content = "comment" }
    1.17      end
    1.18  
    1.19  
    1.20 @@ -128,13 +122,8 @@
    1.21      end
    1.22  
    1.23      if not member.active then
    1.24 -      slot.put ( " " )
    1.25        local text = _"member inactive"
    1.26 -      ui.image{
    1.27 -        attr = { alt = text, title = text },
    1.28 -        static = "icons/16/cross.png"
    1.29 -      }
    1.30 -      ui.tag{ content = _"inactive" }
    1.31 +      ui.tag{ tag = "i", attr = { class = "material-icons icon-red" }, content = "disabled_by_default" }
    1.32      end
    1.33  
    1.34      if initiator and initiator.accepted then
    1.35 @@ -147,10 +136,7 @@
    1.36  
    1.37      if member.is_informed == false then
    1.38        local text = _"Member has not approved latest draft"
    1.39 -      ui.image{
    1.40 -        attr = { alt = text, title = text },
    1.41 -        static = "icons/16/help_yellow.png"
    1.42 -      }
    1.43 +      ui.tag{ tag = "i", attr = { class = "material-icons icon-yellow" }, content = "help" }
    1.44      end
    1.45  
    1.46    end

Impressum / About Us