liquid_feedback_frontend

diff app/main/area/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 88ac7798b562
children c0835d707465
line diff
     1.1 --- a/app/main/area/show.lua	Sun Sep 19 16:00:38 2010 +0200
     1.2 +++ b/app/main/area/show.lua	Mon Sep 20 01:18:03 2010 +0200
     1.3 @@ -1,5 +1,8 @@
     1.4  local area = Area:new_selector():add_where{ "id = ?", param.get_id() }:single_object_mode():exec()
     1.5  
     1.6 +app.html_title.title = area.name
     1.7 +app.html_title.subtitle = _("Area")
     1.8 +
     1.9  if config.feature_rss_enabled then
    1.10    util.html_rss_head{ title = _"Initiatives in this area (last created first)", module = "initiative", view = "list_rss", params = { area_id = area.id } }
    1.11    util.html_rss_head{ title = _"Initiatives in this area (last updated first)", module = "initiative", view = "list_rss", params = { area_id = area.id } }

Impressum / About Us