Commits

bsw  committed 374bbc2

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

  • Participants
  • Parent commits 3941792
  • Tags beta4

Comments (0)

Files changed (4)

File app/main/index/404.lua

+slot.put_into("title", "404 Not found")

File app/main/interest/_action/update.lua

 
 local interest = Interest:by_pk(issue_id, app.session.member.id)
 
--- TODO important m1 selectors returning result _SET_!
-local issue = interest:get_reference_selector("issue"):for_share():single_object_mode():exec()
+local issue = Issue:by_id(issue_id)
 
 if issue.closed then
   slot.put_into("error", _"This issue is already closed.")

File config/default.lua

 config.app_name = "LiquidFeedback"
-config.app_version = "beta3"
+config.app_version = "beta4"
 
 config.app_title = config.app_name .. " (" .. request.get_config_name() .. " environment)"
 
 
 config.download_use_terms = "=== Nutzungsbedingungen ===\nAlles ist verboten"
 
+
+request.set_404_route{ module = 'index', view = '404' }
+
 -- uncomment the following two lines to use C implementations of chosen
 -- functions and to disable garbage collection during the request, to
 -- increase speed:

File static/style.css

   display: none;
   border: 1px solid #444;
   width: 42em;
-  position: absolute;
+  position: fixed;
   background-color: #fff;
   left: 5em;
-  top: 20ex;
+  top: 5ex;
 }
 
 .hidden_inline_form a {