From 73008923acaf643aab7d5af2b559831ff0529489 Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Sat, 18 Nov 2017 00:29:37 +0100 Subject: [PATCH] link/refresh single lazy job --- .../templates/registration/login.html | 5 +- django_simple/todo/templates/base.html | 13 +- django_simple/todo/templates/details1.html | 528 ++++++++++++++++++++ django_simple/todo/urls.py | 2 + django_simple/todo/views.py | 81 ++- 5 files changed, 599 insertions(+), 30 deletions(-) create mode 100644 django_simple/todo/templates/details1.html diff --git a/django_simple/authentication/templates/registration/login.html b/django_simple/authentication/templates/registration/login.html index dd03f80..ac40b5f 100644 --- a/django_simple/authentication/templates/registration/login.html +++ b/django_simple/authentication/templates/registration/login.html @@ -3,6 +3,7 @@ {% block content %} + Run a single job without login.
  • @@ -23,7 +24,8 @@ Run a single job without login.
    -Register and login to save many jobs. +{% if user.is_anonymous %} +Register/login to run and save multiple jobs (optional).
    {% csrf_token %} @@ -35,4 +37,5 @@ Register and login to save many jobs.

    {% trans "Forgot password" %}? {% trans "Reset it" %}!

    {% trans "Not member" %}? {% trans "Register" %}!

    +{% endif %} {% endblock %} diff --git a/django_simple/todo/templates/base.html b/django_simple/todo/templates/base.html index c85301a..b131d87 100644 --- a/django_simple/todo/templates/base.html +++ b/django_simple/todo/templates/base.html @@ -19,8 +19,11 @@