Fix bug NST is not shown in Netslice Templates list 21/7621/1
authorFelipe Vicens <felipe.vicens@atos.net>
Thu, 6 Jun 2019 08:04:50 +0000 (10:04 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Thu, 6 Jun 2019 08:04:50 +0000 (10:04 +0200)
Change-Id: I869daaf3b5d1df81842495e3fc2c492f055110e1
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
netslicehandler/template/nst_list.html

index dadde87..a2e4f4a 100644 (file)
@@ -149,13 +149,10 @@ Network Slices Templates
                 {
                     "render": function (data, type, row) {
                         return '<div class="btn-group">' +
-<<<<<<< Updated upstream
                             '   <button type="button" class="btn btn-default" data-container="body"\n' +
-                               'data-toggle="tooltip" data-placement="top" title="Instantiate NS"\n' +
-                               'onclick="javascript:openModalCreateNSI({\'template_name\':\''+row["name"]+'\', \'template_id\':\''+row["_id"]+'\', \'project_id\':\'{{ project_id }}\',\'vim_list_url\': \'{% url "vims:list"  %}\', \'nst_list_url\': \'{% url "netslices:list_templates" %}\'})">\n' +
-                               '<i class="fa fa-paper-plane"></i></button>\n'+
-=======
->>>>>>> Stashed changes
+                            '   data-toggle="tooltip" data-placement="top" title="Instantiate NS"\n' +
+                            '   onclick="javascript:openModalCreateNSI({\'template_name\':\''+row["name"]+'\', \'template_id\':\''+row["_id"]+'\', \'project_id\':\'{{ project_id }}\',\'vim_list_url\': \'{% url "vims:list"  %}\', \'nst_list_url\': \'{% url "netslices:list_templates" %}\'})">\n' +
+                            '   <i class="fa fa-paper-plane"></i></button>\n'+
                             '     <button type="button" class="btn btn-default"' +
                             '             onclick="javascript:showNstDetails(\'' + row["_id"] + '\')"' +
                             '             data-toggle="tooltip" data-placement="top" data-container="body" title="Open">' +
@@ -217,4 +214,4 @@ Network Slices Templates
     }
 </script>
 
-{% endblock %}
\ No newline at end of file
+{% endblock %}