Replace 'Add' buttons with '+'

This commit is contained in:
Akshay Joshi
2016-07-26 12:54:59 +01:00
committed by Dave Page
parent 19306934a0
commit e803464ee0
7 changed files with 12 additions and 16 deletions

View File

@@ -532,14 +532,13 @@ define([
userCollection = this.userCollection = new UserCollection(),
header = [
'<div class="subnode-header">',
' <button class="btn-sm btn-default add" title="<%-add_title%>" <%=canAdd ? "" : "disabled=\'disabled\'"%> ><%=add_label ? add_label : "" %></button>',
' <button class="btn-sm btn-default add fa fa-plus" title="<%-add_title%>" <%=canAdd ? "" : "disabled=\'disabled\'"%> ></button>',
' <div class="control-label search_users"></div>',
'</div>',].join("\n"),
headerTpl = _.template(header),
data = {
canAdd: true,
add_title: '{{ _("Add new user") }}',
add_label:'{{ _('Add') }}'
add_title: '{{ _("Add new user") }}'
},
$gridBody = $("<div></div>", {
class: "user_container"