X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=projecthandler%2Ftemplate%2Fproject%2Fprojectlist.html;h=61043ba3bc7db76f6456a452450893e0c3fc6037;hb=b7afa527ad8dbbc9e77b1a5d0da8bd6c6d699969;hp=ed8b5831c9a672bb0949ef07e56f03ee0ef04c2c;hpb=bced6e6778a58c6aba2b8aaa682fda728f39422a;p=osm%2FLW-UI.git diff --git a/projecthandler/template/project/projectlist.html b/projecthandler/template/project/projectlist.html index ed8b583..61043ba 100644 --- a/projecthandler/template/project/projectlist.html +++ b/projecthandler/template/project/projectlist.html @@ -1,10 +1,28 @@ + + {% extends "base.html" %} {% load get %} {% load date_tag %} {% load staticfiles %} {% block head_block %} - {{ block.super }} + {{ block.super }} + + {% endblock %} {% block title_header_big %} @@ -19,7 +37,11 @@ {% block breadcrumb_body %} {{ block.super }} -
  • Projects
  • + {% if user.is_admin %} +
  • Projects
  • + {% else%} +
  • Projects
  • + {% endif %} {% endblock %} {% block content_body %} @@ -27,14 +49,13 @@ {% csrf_token %}
    -

    Projects

    @@ -42,43 +63,14 @@ - - - {% for p in projects %} - - - - - - - - - {% endfor %}
    NameModification Date Creation Date Actions
    - {{ p.name }} - {{ p|get_sub:"_admin,modified"|get_date}}{{ p|get_sub:"_admin,created"|get_date}} -
    - - -
    -
    @@ -92,83 +84,237 @@ {% block resource_block %} {{ block.super }} + + + + +