Merge "Removes log button in deployment"
authorParker Berberian <pberberian@iol.unh.edu>
Thu, 3 Jan 2019 19:23:18 +0000 (19:23 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 3 Jan 2019 19:23:18 +0000 (19:23 +0000)
dashboard/src/templates/resource/steps/pod_definition.html

index a72e5a5..8599bb0 100644 (file)
@@ -85,7 +85,11 @@ function main(graphContainer, overviewContainer, toolbarContainer) {
 
     addToolbarButton(editor, toolbarContainer, 'zoomIn', '', "/static/img/mxgraph/zoom_in.png", true);
     addToolbarButton(editor, toolbarContainer, 'zoomOut', '', "/static/img/mxgraph/zoom_out.png", true);
+
+    {% if debug %}
     addToolbarButton(editor, toolbarContainer, 'printXML', '', '/static/img/mxgraph/fit_to_size.png', true);
+    {% endif %}
+
     var outline = new mxOutline(graph, overviewContainer);