liquid_feedback_frontend
changeset 8:374bbc2ff102 beta4
Version beta4
Bug fixed, which made it impossible to explicitly become interested in a topic
Fixed positioning of dialog for entering a new suggestion
Display of 404 pages
Bug fixed, which made it impossible to explicitly become interested in a topic
Fixed positioning of dialog for entering a new suggestion
Display of 404 pages
author | bsw |
---|---|
date | Sat Jan 02 12:00:00 2010 +0100 (2010-01-02) |
parents | 3941792e8be6 |
children | 0ee1e0c42d4c |
files | app/main/index/404.lua app/main/interest/_action/update.lua config/default.lua static/style.css |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/index/404.lua Sat Jan 02 12:00:00 2010 +0100 1.3 @@ -0,0 +1,1 @@ 1.4 +slot.put_into("title", "404 Not found")
2.1 --- a/app/main/interest/_action/update.lua Sat Jan 02 12:00:00 2010 +0100 2.2 +++ b/app/main/interest/_action/update.lua Sat Jan 02 12:00:00 2010 +0100 2.3 @@ -2,8 +2,7 @@ 2.4 2.5 local interest = Interest:by_pk(issue_id, app.session.member.id) 2.6 2.7 --- TODO important m1 selectors returning result _SET_! 2.8 -local issue = interest:get_reference_selector("issue"):for_share():single_object_mode():exec() 2.9 +local issue = Issue:by_id(issue_id) 2.10 2.11 if issue.closed then 2.12 slot.put_into("error", _"This issue is already closed.")
3.1 --- a/config/default.lua Sat Jan 02 12:00:00 2010 +0100 3.2 +++ b/config/default.lua Sat Jan 02 12:00:00 2010 +0100 3.3 @@ -1,5 +1,5 @@ 3.4 config.app_name = "LiquidFeedback" 3.5 -config.app_version = "beta3" 3.6 +config.app_version = "beta4" 3.7 3.8 config.app_title = config.app_name .. " (" .. request.get_config_name() .. " environment)" 3.9 3.10 @@ -27,6 +27,9 @@ 3.11 3.12 config.download_use_terms = "=== Nutzungsbedingungen ===\nAlles ist verboten" 3.13 3.14 + 3.15 +request.set_404_route{ module = 'index', view = '404' } 3.16 + 3.17 -- uncomment the following two lines to use C implementations of chosen 3.18 -- functions and to disable garbage collection during the request, to 3.19 -- increase speed:
4.1 --- a/static/style.css Sat Jan 02 12:00:00 2010 +0100 4.2 +++ b/static/style.css Sat Jan 02 12:00:00 2010 +0100 4.3 @@ -577,10 +577,10 @@ 4.4 display: none; 4.5 border: 1px solid #444; 4.6 width: 42em; 4.7 - position: absolute; 4.8 + position: fixed; 4.9 background-color: #fff; 4.10 left: 5em; 4.11 - top: 20ex; 4.12 + top: 5ex; 4.13 } 4.14 4.15 .hidden_inline_form a {