fnpjs: Action now triggers actionExecuted event instead of using callback
[fnpeditor.git] / src / editor / modules / mainBar / template.html
index 3c43ee6..59f0708 100644 (file)
@@ -1,7 +1,12 @@
 <div class="rng-module-mainBar">
-    <ul>
-        <li>wersja: <span class="version"></span></li>
-        <li><button class="btn btn-mini btn-info" data-cmd="save">Zapisz</button></li>
-        <li><a class="btn btn-mini btn-danger" href="/">Wyjdź</a></li>
-    </ul>
+    <div class="top">
+        <%= userName %> (<a href="/"><%= gettext('Exit') %></a>)
+    </div>
+    <div style="clear:both;"></div>
+    <div class="bottom">
+        <ul>
+            <li><a href="#" data-cmd="drop-draft" data-disabled-text="<%= gettext('no draft exists') %>"><%= gettext('drop a working draft') %></a></li>
+            <li><button class="btn btn-mini btn-info" data-cmd="save"><%= gettext('Save') %></button></li>
+        </ul>
+    </div>
 </div>
\ No newline at end of file