liquid_feedback_frontend

diff app/main/admin/unit_edit.lua @ 603:b5684668ac4b

Fixed titles and actions in admin section
author bsw
date Sun Jun 24 22:56:17 2012 +0200 (2012-06-24)
parents bc6934411019
children 701a5cf6b067
line diff
     1.1 --- a/app/main/admin/unit_edit.lua	Sun Jun 24 22:50:40 2012 +0200
     1.2 +++ b/app/main/admin/unit_edit.lua	Sun Jun 24 22:56:17 2012 +0200
     1.3 @@ -3,9 +3,9 @@
     1.4  local unit = Unit:by_id(id)
     1.5  
     1.6  if unit then
     1.7 -  slot.put_into("title", encode.html(_("Unit: '#{name}'", { name = unit.name })))
     1.8 +  ui.title(_("Unit: '#{name}'", { name = unit.name }))
     1.9  else
    1.10 -  slot.put_into("title", encode.html(_"Add new unit"))
    1.11 +  ui.title(_"Add new unit")
    1.12  end
    1.13  
    1.14  local units = {

Impressum / About Us