liquid_feedback_frontend

diff app/main/initiative/show.lua @ 103:7d0f4721d2f3

setting <title> tag. fallback: take class="title"-contents
author jorges
date Mon Sep 20 01:18:03 2010 +0200 (2010-09-20)
parents 00d1004545f1
children fecd4c13054a
line diff
     1.1 --- a/app/main/initiative/show.lua	Sun Sep 19 16:00:38 2010 +0200
     1.2 +++ b/app/main/initiative/show.lua	Mon Sep 20 01:18:03 2010 +0200
     1.3 @@ -4,6 +4,10 @@
     1.4    initiative = Initiative:new_selector():add_where{ "id = ?", param.get_id()}:single_object_mode():exec()
     1.5  end
     1.6  
     1.7 +app.html_title.title = initiative.name
     1.8 +app.html_title.subtitle = _("Initiative ##{id}", { id = initiative.id })
     1.9 +
    1.10 +
    1.11  if request.get_json_request_slots() then
    1.12    execute.view{
    1.13      module = "initiative",
    1.14 @@ -33,4 +37,4 @@
    1.15        initiative = initiative
    1.16      }
    1.17    }
    1.18 -end
    1.19 \ No newline at end of file
    1.20 +end

Impressum / About Us