Vinícius Cantuária
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
0 deletions
-
sapl/parlamentares/views.py
-
sapl/sessao/views.py
-
sapl/templates/navbar.yaml
|
|
@ -1178,6 +1178,7 @@ class VincularParlamentarView(PermissionRequiredMixin, FormView): |
|
|
|
|
|
|
|
class BlocoCrud(CrudAux): |
|
|
|
model = Bloco |
|
|
|
public = [RP_DETAIL, RP_LIST] |
|
|
|
|
|
|
|
class CreateView(CrudAux.CreateView): |
|
|
|
form_class = BlocoForm |
|
|
|
|
|
@ -1103,6 +1103,7 @@ class OradorOrdemDiaCrud(OradorCrud): |
|
|
|
|
|
|
|
class BancadaCrud(CrudAux): |
|
|
|
model = Bancada |
|
|
|
public = [RP_DETAIL, RP_LIST] |
|
|
|
|
|
|
|
class CreateView(CrudAux.CreateView): |
|
|
|
form_class = BancadaForm |
|
|
|
|
|
@ -7,6 +7,10 @@ |
|
|
|
children: |
|
|
|
- title: {% trans 'Mesa Diretora' %} |
|
|
|
url: sapl.parlamentares:mesa_diretora |
|
|
|
- title: {% trans 'Bancadas Parlamentares' %} |
|
|
|
url: sapl.sessao:bancada_list |
|
|
|
- title: {% trans 'Blocos Parlamentares' %} |
|
|
|
url: sapl.parlamentares:bloco_list |
|
|
|
- title: {% trans 'Comissões' %} |
|
|
|
url: sapl.comissoes:comissao_list |
|
|
|
- title: {% trans 'Frentes' %} |
|
|
|