Update views.py

I propose to replace the state_display with status which is what is used in the web interface. This gives more information to the user.
Status Job ID Name Coverage
  Build
passed #434297
allgo
bootstrap

00:02:30

 
  Test
failed #434298
allowed to fail
django_pylint

00:00:27

 
  Cleanning
passed #434299
nettoyage

00:00:02

 
Name Stage Failure
failed
django_pylint Test
+-------------------------------+------------+



Global evaluation
-----------------
Your code has been rated at 4.86/10

ERROR: Job failed: exit status 1