diff --git a/contributors.py b/contributors.py new file mode 100644 index 00000000..358fd27b --- /dev/null +++ b/contributors.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python3 + +contributeurs = ['Gabriel Detraz', 'chirac', 'Maël Kervella', 'LEVY-FALK Hugo', 'Dalahro', 'lhark', 'root', 'Chirac', 'Hugo LEVY-FALK', 'guimoz', 'Mael Kervella', 'klafyvel', 'matthieu', 'Yoann Pietri', 'Simon Brélivet', 'chibrac', 'David Sinquin', 'Pierre Cadart', 'moamoak', 'Éloi Alain', 'FERNET Laouen', 'Hugo Levy-Falk', 'Yoann PIETRI', 'B', 'Daniel STAN', 'Eloi Alain', 'Guimoz', 'Hugo Hervieux', 'Joanne Steiner', 'Laouen Fernet', 'Lemesle', 'MICHELET matthieu', 'Nymous', 'Thibault de BOUTRAY', 'Tipunchetrhum', 'Éloi ALAIN'] \ No newline at end of file diff --git a/re2o/templates/re2o/about.html b/re2o/templates/re2o/about.html index b3831d26..daec6d91 100644 --- a/re2o/templates/re2o/about.html +++ b/re2o/templates/re2o/about.html @@ -32,36 +32,26 @@ with this program; if not, write to the Free Software Foundation, Inc., {{ description }}

À propos de Re2o

Re2o est un logiciel d'administration développé initialement au RézoMetz. Il -se veut agnostique au réseau considéré, de manière à être installable en +se veut indépendant de l'architecture du réseau considéré, de manière à être installable en quelques clics. +C'est un logiciel totallement libre disponible sur le gitlab de FedeRez.

+

Liste des contributeurs

+
diff --git a/re2o/views.py b/re2o/views.py index 6f7c8d44..bfb2e6c5 100644 --- a/re2o/views.py +++ b/re2o/views.py @@ -36,6 +36,10 @@ from reversion.models import Version from django.contrib import messages from preferences.models import Service from preferences.models import OptionalUser, GeneralOption, AssoOption +from django.conf import settings +from contributors import contributeurs +import os +import time import users, preferences, cotisations, topologie, machines def form(ctx, template, request): @@ -157,9 +161,12 @@ def history(request, application, object_name, object_id): def about_page(request): option = AssoOption.objects.get() + n = len(contributeurs) + contrib_1 = contributeurs[:n//2] + contrib_2 = contributeurs[n//2:] return render( request, "re2o/about.html", - {'description': option.description , 'AssoName' : option.name} + {'description': option.description , 'AssoName' : option.name , 'contrib_1' : contrib_1 , 'contrib_2' : contrib_2} ) - + diff --git a/templates/base.html b/templates/base.html index 0a2ba87b..1b2adfcc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -86,7 +86,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_view_app logs %}
  • Statistiques
  • {% acl_end %} -
  • À propos