mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Fix some translations in tickets/
This commit is contained in:
parent
dbf7485107
commit
9b39529fd2
1 changed files with 1 additions and 5 deletions
|
@ -20,10 +20,6 @@
|
||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
# App de gestion des users pour re2o
|
|
||||||
# Lara Kermarec, Gabriel Détraz, Lemesle Augustin
|
|
||||||
# Gplv2
|
|
||||||
|
|
||||||
from django.contrib import messages
|
from django.contrib import messages
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
from django.shortcuts import render, redirect
|
from django.shortcuts import render, redirect
|
||||||
|
@ -196,7 +192,7 @@ def aff_tickets(request):
|
||||||
return render(request, "tickets/index.html", context=context)
|
return render(request, "tickets/index.html", context=context)
|
||||||
|
|
||||||
|
|
||||||
# views cannoniques des apps optionnels
|
# Canonic views for optional apps
|
||||||
def profil(request, user):
|
def profil(request, user):
|
||||||
"""View used to display the tickets on a user's profile."""
|
"""View used to display the tickets on a user's profile."""
|
||||||
tickets_list = Ticket.objects.filter(user=user).all().order_by("-date")
|
tickets_list = Ticket.objects.filter(user=user).all().order_by("-date")
|
||||||
|
|
Loading…
Reference in a new issue