editor: block save button when there is nothing to save
[fnpeditor.git] / src / editor / modules / mainBar / template.html
1 <div class="rng-module-mainBar">
2     <div class="top">
3         <%= userName %> (<a href="/"><%= gettext('Exit') %></a>)
4     </div>
5     <div style="clear:both;"></div>
6     <ul class="bottom">
7         <li>wersja: <span class="version"></span></li>
8         <li><a href="#" data-cmd="drop-draft" data-disabled-text="<%= gettext('no unsaved changes') %>"><%= gettext('drop a working draft') %></a></li>
9         <li><button class="btn btn-mini btn-info" data-cmd="save"><%= gettext('Save') %></button></li>
10     </ul>
11 </div>