X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0214643f72c6aaa8e85eaba2ad27f2ca03ca6401..dad0c998b0e446b9489e258f2a49ca49f0d63a00:/modules/nodePane/template.html

diff --git a/modules/nodePane/template.html b/modules/nodePane/template.html
index 4d5caf6..b9a1254 100644
--- a/modules/nodePane/template.html
+++ b/modules/nodePane/template.html
@@ -1,23 +1,25 @@
-<div class="rng-module-nodePane">
-    <fieldset>
-        <legend>Current node</legend>
-        <div>
-            <label>Tag</label>
-            <select class="rng-module-nodePane-tagSelect">
-                <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>
-                <% options.forEach(function(option) { %>
-                    <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= option %></option>
-                <% }); %>
-            </select>
-        </div>
-        <div>
-            <label>Klasa</label>
-            <select  class="rng-module-nodePane-classSelect">
-                <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp', 'emph.tech'] %>
-                <% options.forEach(function(option) { %>
-                    <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= option %></option>
-                <% }); %>
-            </select>
-        </div>
-    </fieldset>
+<div class="rng-module-nodePane">
+    <fieldset>
+        <legend><%= gettext('Current node') %></legend>
+        <div>
+            <label>Tag</label>
+            <select class="rng-module-nodePane-tagSelect">
+                <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>
+                <% options.forEach(function(option) { %>
+                    <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= tagNames[option] %></option>
+                <% }); %>
+            </select>
+        </div>
+        <div>
+            <label>Klasa</label>
+            <select  class="rng-module-nodePane-classSelect">
+                <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %>
+                <% options.forEach(function(option) { %>
+                    <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= classNames[option] %></option>
+                <% }); %>
+            </select>
+        </div>
+        <div class="metaFields">
+        </div>
+    </fieldset>
 </div>
\ No newline at end of file