ui fix Mostrar botón de Presentar a los coordinadores, aunque sean editores

parent c005711c
Pipeline #557 failed with stage
in 0 seconds
......@@ -352,7 +352,7 @@ class ProyectoDetailView(LoginRequiredMixin, ChecksMixin, DetailView):
self.es_coordinador(self.object.id) and self.object.en_borrador()
) or self.request.user.has_perm('indo.editar_proyecto')
context['es_editor'] = self.request.user.has_perm('indo.editar_proyecto')
context['es_coordinador'] = self.es_coordinador(self.object.id) and self.object.en_borrador()
return context
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment