liquid_feedback_frontend

annotate app/main/draft/show.lua @ 151:1652c4cd3154

add broken delegations tab on homepage

if a user has delegations to an inactive account, a new red tab will apear on the homepage of the user listing his broken delegations
author Daniel Poelzleithner <poelzi@poelzi.org>
date Fri Oct 08 05:24:14 2010 +0200 (2010-10-08)
parents 3bfb2fcf7ab9
children cc7650c7053f
rev   line source
bsw/jbe@0 1 local draft = Draft:new_selector():add_where{ "id = ?", param.get_id() }:single_object_mode():exec()
bsw/jbe@0 2
bsw/jbe@0 3 execute.view{
bsw/jbe@0 4 module = "draft",
bsw/jbe@0 5 view = "_show",
bsw/jbe@0 6 params = { draft = draft }
bsw/jbe@0 7 }

Impressum / About Us