ciclos

commit 09a412b1c9f9eedb42b4ba4650ec26558bb794af

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Add some management links

 src/templates/index.html | 10 +++++++++-


diff --git a/src/templates/index.html b/src/templates/index.html
index ab0e2bdd37dc48482cdccdfc2f4fc8ca18f72d70..1fcea08e525ab131e6a306b47acfbea2854be306 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -13,9 +13,17 @@     
  • Trabalho Coletivo
  • <li> Auto Gestão </li> <li> Consumo Responsável </li> </ul> +</section> +<section> {% if current_user.is_authenticated %} - <a href="{{url_for('cycles.index')}}">Ver ciclos</a> + <h2>Gerenciamento</h2> + <ul> + <li> <a href="{{url_for('groups.index')}}">Ver Fornecedores cadastrados </a> </li> + <li> <a href="{{url_for('products.index')}}">Ver produtos cadastrados </a> </li> + <li> <a href="{{url_for('product_categories.index')}}">Ver categorias</a> </li> + <li> <a href="{{url_for('cycles.index')}}">Ver ciclos</a> </li> + </ul> {% else %} <a href="{{url_for('auth.login')}}">Entrar</a> {% endif %}