diff --git a/app/templates/main/dashboard.html.j2 b/app/templates/main/dashboard.html.j2 index 6064608d..6607078b 100644 --- a/app/templates/main/dashboard.html.j2 +++ b/app/templates/main/dashboard.html.j2 @@ -22,24 +22,14 @@ -
  • - book - Utopias -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    - send -
  • -
  • - book - Dystopias -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    - send -
  • -
  • - book - Mungo Park - Travel books -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    - send -
  • + {% for corpus in current_user.corpora.all() %} +
  • + book + {{ corpus.title }} +

    {{ corpus.description }}

    + send +
  • + {% endfor %} @@ -67,24 +57,22 @@ -
  • - find_in_page - finished - Harry Potter -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    -
  • -
  • - find_in_page - queued - Sprawl trilogy -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    -
  • -
  • - format_textdirection_l_to_r - running - Bob the Builder -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia

    -
  • + {% for job in current_user.jobs.all() %} +
  • + + {% if job.service == 'nlp' %} + format_textdirection_l_to_r + {% elif job.service =='ocr' %} + find_in_page + {% else %} + help + {% endif %} + + {{ job.status }} + {{ job.title }} +

    {{ job.description }}

    +
  • + {% endfor %}