X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/413a5f1dc25d5c8a788127f40816f39c49cd0d1c..26b12d5df692dc8e76fa79ec98e9bdd491d1a8d4:/src/editor/views/dialog/dialog.html?ds=sidebyside

diff --git a/src/editor/views/dialog/dialog.html b/src/editor/views/dialog/dialog.html
index 80c9fb2..7499cd1 100644
--- a/src/editor/views/dialog/dialog.html
+++ b/src/editor/views/dialog/dialog.html
@@ -1,4 +1,4 @@
-<div class="rng-dialog modal hide static">
+<div class="rng-dialog modal hide static <%= cssClass %>">
     <div class="modal-header">
         <button type="button" class="close">&times;</button>
         <h1><%= title %></h1>
@@ -6,7 +6,11 @@
     <div class="modal-body">
     </div>
     <div class="modal-footer">
-        <a href="#" class="btn btn-info btn-mini execute-btn"><%= executeButtonText %></a>
-        <a href="#" class="btn btn-danger btn-mini cancel-btn"><%= cancelButtonText %></a>
+        <% if(executeButtonText) { %>
+            <a href="#" class="btn btn-info btn-mini execute-btn"><%= executeButtonText %></a>
+        <% } %>
+        <% if(cancelButtonText) { %>
+            <a href="#" class="btn btn-danger btn-mini cancel-btn"><%= cancelButtonText %></a>
+        <% } %>
     </div>
 </div>
\ No newline at end of file