X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=projecthandler%2Ftemplate%2Fproject%2Fprojectlist.html;h=f1aa4f12e85514562c618dad6af661b8496fdd51;hb=refs%2Fchanges%2F95%2F7895%2F1;hp=6e3793dc0b5d64282275a71080a4c6c38582e0a5;hpb=99f922f1dc8623a444930a621ce3696802d619c0;p=osm%2FLW-UI.git diff --git a/projecthandler/template/project/projectlist.html b/projecthandler/template/project/projectlist.html index 6e3793d..f1aa4f1 100644 --- a/projecthandler/template/project/projectlist.html +++ b/projecthandler/template/project/projectlist.html @@ -1,3 +1,19 @@ + + {% extends "base.html" %} {% load get %} {% load date_tag %} @@ -5,6 +21,7 @@ {% block head_block %} {{ block.super }} + {% endblock %} {% block title_header_big %} @@ -12,14 +29,18 @@ {% endblock %} {% block left_sidebar %} -{% include 'left_sidebar_base.html' %} +{% include 'osm/osm_project_left_sidebar.html' %} {% endblock %} {% block breadcrumb_body %} {{ block.super }} -
  • Projects
  • + {% if user.is_admin %} +
  • Projects
  • + {% else%} +
  • Projects
  • + {% endif %} {% endblock %} {% block content_body %} @@ -27,7 +48,6 @@ {% csrf_token %}
    -

    Projects

    @@ -42,31 +62,14 @@ - - - - - + - {% for p in projects %} - - - - - - - - - - {% endfor %}
    NameModification Date Creation DateActions
    - {{ p.name }} - {{ p|get_sub:"_admin,modified"|get_date}}{{ p|get_sub:"_admin,created"|get_date}} Delete
    @@ -74,83 +77,199 @@
    -{% include "modal/new_project.html" %} +{% include "modal/project_new.html" %} +{% include "modal/project_edit.html" %} {% endblock %} {% block resource_block %} {{ block.super }} + + + +