[SSE mobile] refactor captions for "Functions"

This commit is contained in:
Maxim Kadushkin 2016-12-16 19:50:48 +03:00
parent 4f9c256dee
commit f18d3874fd
2 changed files with 8 additions and 6 deletions

View file

@ -19,9 +19,9 @@
<% }); %> <% }); %>
</ul> </ul>
</div> </div>
<div class="content-block-title"><%= textGroups %></div>
<div class="list-block"> <div class="list-block">
<ul class="groups"> <ul class="groups">
<li class="item-divider">CATEGORIES</li>
<% for (var g in groups) { %> <% for (var g in groups) { %>
<li> <li>
<a data-type="<%= g %>" class="item-link group"> <a data-type="<%= g %>" class="item-link group">

View file

@ -114,11 +114,12 @@ define([
}; };
this.layout = $('<div/>').append(_.template(this.template, { this.layout = $('<div/>').append(_.template(this.template, {
android : Common.SharedSettings.get('android'), android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'), phone : Common.SharedSettings.get('phone'),
quick : quickFunctions, textGroups : this.textGroups,
groups : this.groups, quick : quickFunctions,
view : 'root' groups : this.groups,
view : 'root'
})); }));
return this; return this;
@ -170,6 +171,7 @@ define([
_openView.call(this, 'info', this.functions[type]); _openView.call(this, 'info', this.functions[type]);
}, },
textGroups: 'CATEGORIES',
sCatLogical: 'Logical', sCatLogical: 'Logical',
// sCatCube: 'Cube', // sCatCube: 'Cube',
// sCatDatabase: 'Database', // sCatDatabase: 'Database',