liquid_feedback_frontend
view app/main/member_image/_show.lua @ 921:493c59e9c7cc
Removed "[nullify]" tag from greek translation of "Cancel [nullify]"
| author | jbe | 
|---|---|
| date | Thu Oct 04 13:49:42 2012 +0200 (2012-10-04) | 
| parents | bf666fd13628 | 
| children | 8874448bbb7a | 
 line source
     1 local member = param.get("member", "table")
     2 local member_id = member and member.id or param.get("member_id", atom.integer)
     4 local image_type = param.get("image_type")
     5 local class = param.get("class")
     6 local popup_text = param.get("popup_text")
     8 if class then
     9   class = " " .. class
    10 else
    11   class = ""
    12 end
    15 if config.fastpath_url_func then
    16   ui.image{
    17     attr = { title = popup_text, class = "member_image member_image_" .. image_type .. class },
    18     external = config.fastpath_url_func(member_id, image_type)
    19   }
    20 else
    21   ui.image{
    22     attr = { title = popup_text, class = "member_image member_image_" .. image_type .. class },
    23     module = "member_image",
    24     view = "show",
    25     extension = "jpg",
    26     id = member_id,
    27     params = {
    28       image_type = image_type
    29     }
    30   }
    31 end
