X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/d61cad29b5e1926edfe460c40cd2c65c1b19ac28..435b160c7f45d1aa993e2f933fd0343543a1b512:/sercom/controllers.py?ds=inline diff --git a/sercom/controllers.py b/sercom/controllers.py index 3bd0d8a..9f82838 100644 --- a/sercom/controllers.py +++ b/sercom/controllers.py @@ -46,7 +46,7 @@ class Root(controllers.RootController): .orderBy(InstanciaDeEntrega.q.fin)) return dict(a_corregir=correcciones, instancias_activas=instancias, now=now) - + if 'entregar' in identity.current.permissions: # Proximas instancias de entrega instancias = list(InstanciaDeEntrega.select( @@ -135,6 +135,8 @@ class Root(controllers.RootController): mis_correcciones = MisCorreccionesController() + grupo_admin = GrupoAdminController() + #{{{ Agrega summarize a namespace tg de KID def summarize(text, size, concat=True, continuation='...'): """Summarize a string if it's length is greater than a specified size. This