X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=projecthandler%2Ftemplate%2Fproject%2Fprojectlist.html;h=ed8b5831c9a672bb0949ef07e56f03ee0ef04c2c;hb=bced6e6778a58c6aba2b8aaa682fda728f39422a;hp=63396798d3d50ef7a0e9c22d252171d08e059a99;hpb=480be48e0f8582486e2e55b79a6075039f79da8e;p=osm%2FLW-UI.git diff --git a/projecthandler/template/project/projectlist.html b/projecthandler/template/project/projectlist.html index 6339679..ed8b583 100644 --- a/projecthandler/template/project/projectlist.html +++ b/projecthandler/template/project/projectlist.html @@ -12,7 +12,7 @@ {% endblock %} {% block left_sidebar %} -{% include 'left_sidebar_base.html' %} +{% include 'osm/osm_project_left_sidebar.html' %} {% endblock %} @@ -47,9 +47,7 @@ Modification Date Creation Date - - - + Actions @@ -57,14 +55,28 @@ - {{ p.name }} + {{ p.name }} {{ p|get_sub:"_admin,modified"|get_date}} {{ p|get_sub:"_admin,created"|get_date}} - Delete - + +
+ + +
+ {% endfor %} @@ -74,7 +86,8 @@ -{% include "modal/new_project.html" %} +{% include "modal/project_new.html" %} +{% include "modal/project_edit.html" %} {% endblock %} {% block resource_block %} @@ -84,6 +97,11 @@ $('#modal_new_project').modal('show'); } + function editProject(url){ + $("#formEditProject").attr("action", url); + $('#modal_edit_project').modal('show'); + } + function deleteProject(url) { bootbox.confirm("Are you sure want to delete?", function (result) { if (result) {