liquid_feedback_frontend
annotate app/main/index/about.lua @ 172:165f4bd02cf3
don't show the first draft of a new initiative as a new draft event in the timeline
new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
| author | Daniel Poelzleithner <poelzi@poelzi.org> |
|---|---|
| date | Sun Oct 10 19:40:32 2010 +0200 (2010-10-10) |
| parents | 00d1004545f1 |
| children | 4ab5057840d0 |
| rev | line source |
|---|---|
| bsw/jbe@0 | 1 slot.put_into("title", encode.html(_"About LiquidFeedback")) |
| bsw/jbe@0 | 2 |
| bsw/jbe@19 | 3 if app.session.member_id then |
| bsw/jbe@19 | 4 slot.select("actions", function() |
| bsw/jbe@19 | 5 ui.link{ |
| bsw/jbe@19 | 6 module = "index", |
| bsw/jbe@19 | 7 view = "usage_terms", |
| bsw/jbe@19 | 8 content = function() |
| bsw/jbe@19 | 9 ui.image{ static = "icons/16/script.png" } |
| bsw/jbe@19 | 10 slot.put(_"Terms of use") |
| bsw/jbe@19 | 11 end |
| bsw/jbe@19 | 12 } |
| bsw/jbe@19 | 13 end) |
| bsw/jbe@19 | 14 end |
| bsw/jbe@19 | 15 |
| bsw/jbe@0 | 16 |
| bsw/jbe@0 | 17 slot.put("<br />") |
| bsw/jbe@0 | 18 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Diensteanbieter:" } |
| bsw/jbe@0 | 19 slot.put("<br />") |
| bsw/jbe@0 | 20 |
| bsw/jbe@0 | 21 slot.put(config.app_service_provider) |
| bsw/jbe@0 | 22 |
| bsw/jbe@0 | 23 slot.put("<br />") |
| bsw/jbe@0 | 24 slot.put("<br />") |
| bsw/jbe@0 | 25 slot.put("<br />") |
| bsw/jbe@0 | 26 |
| bsw/jbe@0 | 27 |
| bsw/jbe@0 | 28 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Dieser Dienst ist mit folgender Software realisiert worden:" } |
| bsw/jbe@0 | 29 slot.put("<br />") |
| bsw/jbe@0 | 30 |
| bsw/jbe@0 | 31 local tmp = { |
| bsw/jbe@0 | 32 { |
| bsw/jbe@0 | 33 name = "LiquidFeedback Frontend", |
| bsw/jbe@0 | 34 url = "http://www.public-software-group.org/liquid_feedback", |
| bsw/jbe@0 | 35 version = config.app_version, |
| bsw/jbe@0 | 36 license = "MIT/X11", |
| bsw/jbe@0 | 37 license_url = "http://www.public-software-group.org/licenses" |
| bsw/jbe@0 | 38 }, |
| bsw/jbe@0 | 39 { |
| bsw/jbe@0 | 40 name = "LiquidFeedback Core", |
| bsw/jbe@0 | 41 url = "http://www.public-software-group.org/liquid_feedback", |
| bsw/jbe@0 | 42 version = db:query("SELECT * from liquid_feedback_version;")[1].string, |
| bsw/jbe@0 | 43 license = "MIT/X11", |
| bsw/jbe@0 | 44 license_url = "http://www.public-software-group.org/licenses" |
| bsw/jbe@0 | 45 }, |
| bsw/jbe@0 | 46 { |
| bsw/jbe@0 | 47 name = "WebMCP", |
| bsw/jbe@0 | 48 url = "http://www.public-software-group.org/webmcp", |
| bsw/jbe@0 | 49 version = _WEBMCP_VERSION, |
| bsw/jbe@0 | 50 license = "MIT/X11", |
| bsw/jbe@0 | 51 license_url = "http://www.public-software-group.org/licenses" |
| bsw/jbe@0 | 52 }, |
| bsw/jbe@0 | 53 { |
| bsw/jbe@0 | 54 name = "Lua", |
| bsw/jbe@0 | 55 url = "http://www.lua.org", |
| bsw/jbe@0 | 56 version = _VERSION:gsub("Lua ", ""), |
| bsw/jbe@0 | 57 license = "MIT/X11", |
| bsw/jbe@0 | 58 license_url = "http://www.lua.org/license.html" |
| bsw/jbe@0 | 59 }, |
| bsw/jbe@0 | 60 { |
| bsw/jbe@0 | 61 name = "PostgreSQL", |
| bsw/jbe@0 | 62 url = "http://www.postgresql.org/", |
| bsw/jbe@0 | 63 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""), |
| bsw/jbe@0 | 64 license = "BSD", |
| bsw/jbe@0 | 65 license_url = "http://www.postgresql.org/about/licence" |
| bsw/jbe@0 | 66 }, |
| bsw/jbe@0 | 67 } |
| bsw/jbe@0 | 68 |
| bsw/jbe@0 | 69 ui.list{ |
| bsw/jbe@0 | 70 records = tmp, |
| bsw/jbe@0 | 71 columns = { |
| bsw/jbe@0 | 72 { |
| bsw/jbe@0 | 73 label = _"Software", |
| bsw/jbe@0 | 74 content = function(record) |
| bsw/jbe@0 | 75 ui.link{ |
| bsw/jbe@0 | 76 content = record.name, |
| bsw/jbe@0 | 77 external = record.url |
| bsw/jbe@0 | 78 } |
| bsw/jbe@0 | 79 end |
| bsw/jbe@0 | 80 }, |
| bsw/jbe@0 | 81 { |
| bsw/jbe@0 | 82 label = _"Version", |
| bsw/jbe@0 | 83 content = function(record) ui.field.text{ value = record.version } end |
| bsw/jbe@0 | 84 }, |
| bsw/jbe@0 | 85 { |
| bsw/jbe@0 | 86 label = _"License", |
| bsw/jbe@0 | 87 content = function(record) |
| bsw/jbe@0 | 88 ui.link{ |
| bsw/jbe@0 | 89 content = record.license, |
| bsw/jbe@0 | 90 external = record.license_url |
| bsw/jbe@0 | 91 } |
| bsw/jbe@0 | 92 end |
| bsw/jbe@0 | 93 |
| bsw/jbe@0 | 94 } |
| bsw/jbe@0 | 95 } |
| bsw/jbe@0 | 96 } |
| bsw/jbe@0 | 97 |
| bsw/jbe@0 | 98 slot.put("<br />") |
| bsw/jbe@0 | 99 slot.put("<br />") |
| bsw/jbe@0 | 100 slot.put("<br />") |
| bsw/jbe@0 | 101 |
| bsw/jbe@0 | 102 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "3rd party license information:" } |
| bsw/jbe@0 | 103 slot.put("<br />") |
| bsw/jbe@0 | 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>') |
| bsw/jbe@0 | 105 |