liquid_feedback_frontend

view app/main/member_image/_show.lua @ 6:8d91bccab0bf

Version beta2

Possibility to browse voters of a closed issue

Registration with invite code

Email confirmation and password recovery

Download function (for database dumps) added

Critical bug solved, which made it impossible to select your opinion on other peoples suggestions

Catching error, when trying to set an opinion on a suggestion which has been meanwhile deleted

Fixed wrong sorting order for "supporters" or "potential supporters"

Added format info for birthday (Error when entering dates in wrong format is NOT fixed in this release)

Strip space characters from certain fields and ensure they contain at least 3 characters

Showing grade in opinion/list as clear text instead of integer value

More information on initiative is displayed while voting

Colored notification box shown on pages of issues or initiatives which are currently in voting state

Changed default filter for issues to "Open"

Back link on suggestion page

Some optical changes

Removed wrong space character in LICENSE file
author bsw/jbe
date Sat Jan 02 12:00:00 2010 +0100 (2010-01-02)
parents 80c215dbf076
children 6b6c82f9ca9f
line source
1 local member = param.get("member", "table")
2 local image_type = param.get("image_type")
3 local show_dummy = param.get("show_dummy", atom.boolean)
5 local image = member:get_reference_selector("images")
6 :add_where{ "image_type = ?", image_type }
7 :optional_object_mode()
8 :exec()
9 if image or show_dummy then
10 if config.fastpath_url_func then
11 ui.image{
12 attr = { class = "member_image member_image_" .. image_type },
13 external = config.fastpath_url_func(member.id, image_type)
14 }
15 else
16 ui.image{
17 attr = { class = "member_image member_image_" .. image_type },
18 module = "member_image",
19 view = "show",
20 extension = "jpg",
21 id = member.id,
22 params = {
23 image_type = image_type
24 }
25 }
26 end
27 end

Impressum / About Us