liquid_feedback_frontend

view app/main/index/about.lua @ 124:f740026b1518

add initiator support in delegation

if a delegation is issued from the initiative view, the initiators
from that one are added to the delegation target list. this makes it easier to delegate to the author without the need to add him to the contact list.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Mon Sep 20 20:32:04 2010 +0200 (2010-09-20)
parents 00d1004545f1
children 4ab5057840d0
line source
1 slot.put_into("title", encode.html(_"About LiquidFeedback"))
3 if app.session.member_id then
4 slot.select("actions", function()
5 ui.link{
6 module = "index",
7 view = "usage_terms",
8 content = function()
9 ui.image{ static = "icons/16/script.png" }
10 slot.put(_"Terms of use")
11 end
12 }
13 end)
14 end
17 slot.put("<br />")
18 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Diensteanbieter:" }
19 slot.put("<br />")
21 slot.put(config.app_service_provider)
23 slot.put("<br />")
24 slot.put("<br />")
25 slot.put("<br />")
28 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Dieser Dienst ist mit folgender Software realisiert worden:" }
29 slot.put("<br />")
31 local tmp = {
32 {
33 name = "LiquidFeedback Frontend",
34 url = "http://www.public-software-group.org/liquid_feedback",
35 version = config.app_version,
36 license = "MIT/X11",
37 license_url = "http://www.public-software-group.org/licenses"
38 },
39 {
40 name = "LiquidFeedback Core",
41 url = "http://www.public-software-group.org/liquid_feedback",
42 version = db:query("SELECT * from liquid_feedback_version;")[1].string,
43 license = "MIT/X11",
44 license_url = "http://www.public-software-group.org/licenses"
45 },
46 {
47 name = "WebMCP",
48 url = "http://www.public-software-group.org/webmcp",
49 version = _WEBMCP_VERSION,
50 license = "MIT/X11",
51 license_url = "http://www.public-software-group.org/licenses"
52 },
53 {
54 name = "Lua",
55 url = "http://www.lua.org",
56 version = _VERSION:gsub("Lua ", ""),
57 license = "MIT/X11",
58 license_url = "http://www.lua.org/license.html"
59 },
60 {
61 name = "PostgreSQL",
62 url = "http://www.postgresql.org/",
63 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""),
64 license = "BSD",
65 license_url = "http://www.postgresql.org/about/licence"
66 },
67 }
69 ui.list{
70 records = tmp,
71 columns = {
72 {
73 label = _"Software",
74 content = function(record)
75 ui.link{
76 content = record.name,
77 external = record.url
78 }
79 end
80 },
81 {
82 label = _"Version",
83 content = function(record) ui.field.text{ value = record.version } end
84 },
85 {
86 label = _"License",
87 content = function(record)
88 ui.link{
89 content = record.license,
90 external = record.license_url
91 }
92 end
94 }
95 }
96 }
98 slot.put("<br />")
99 slot.put("<br />")
100 slot.put("<br />")
102 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "3rd party license information:" }
103 slot.put("<br />")
104 slot.put('The icons used in Liquid Feedback (except national flags) are from <a href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set 1.3</a> by Mark James. His work is licensed under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License.</a>')

Impressum / About Us