liquid_feedback_frontend
diff app/main/index/_initiator_invites.lua @ 57:4f39f0a0d5b5
Listing of updated drafts on start page; Code cleanup; Minor bugfix
MOTD, initiator invite, issues to vote and listing of updated drafts shown as tabs on start page;
Bugfix: Initiator icon only shown when initiatorship has been accepted
MOTD, initiator invite, issues to vote and listing of updated drafts shown as tabs on start page;
Bugfix: Initiator icon only shown when initiatorship has been accepted
| author | bsw |
|---|---|
| date | Sat Apr 17 21:59:02 2010 +0200 (2010-04-17) |
| parents | |
| children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/index/_initiator_invites.lua Sat Apr 17 21:59:02 2010 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +local initiatives_selector = param.get("initiatives_selector", "table") 1.5 + 1.6 +if initiatives_selector:count() > 0 then 1.7 + ui.container{ 1.8 + attr = { style = "font-weight: bold;" }, 1.9 + content = _"Initiatives that invited you to become initiator:" 1.10 + } 1.11 + 1.12 + execute.view{ 1.13 + module = "initiative", 1.14 + view = "_list", 1.15 + params = { initiatives_selector = initiatives_selector } 1.16 + } 1.17 +else 1.18 + ui.field.text{ value = _"You are currently not invited to any initiative." } 1.19 +end 1.20 \ No newline at end of file