更新 'lib/assets/javascripts/deep-insights/widgets/category/options/options-template.tpl'
This commit is contained in:
parent
6f3f9b70b1
commit
d5b3e9b6d7
@ -1,23 +1,23 @@
|
||||
<% if (isSearchEnabled) { %>
|
||||
<p class="CDB-Text is-semibold CDB-Size-small u-upperCase js-lockCategories"><%- totalLocked %> selected</p>
|
||||
<p class="CDB-Text is-semibold CDB-Size-small u-upperCase js-lockCategories"><%- totalLocked %> 选择</p>
|
||||
<% } else { %>
|
||||
<p class="CDB-Text is-semibold CDB-Size-small u-upperCase js-textInfo">
|
||||
<% if (isLocked) { %>
|
||||
<%- totalCats %> blocked <button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link u-lSpace js-unlock">unlock</button>
|
||||
<%- totalCats %> 被锁定 <button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link u-lSpace js-unlock">解锁</button>
|
||||
<% } else { %>
|
||||
<% if (noneSelected) { %>
|
||||
None selected
|
||||
<% } else { %>
|
||||
<%- allSelected ? "All selected" : acceptedCats + " selected" %>
|
||||
<%- allSelected ? "全部范围" : acceptedCats + " 选择" %>
|
||||
<% if (canBeLocked) { %>
|
||||
<button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link u-lSpace js-lock">lock</button>
|
||||
<button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link u-lSpace js-lock">锁定</button>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<% } %>
|
||||
</p>
|
||||
<% if (canSelectAll) { %>
|
||||
<div class="CDB-Widget-filterButtons">
|
||||
<button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link CDB-Widget-filterButton js-all">all</button>
|
||||
<button class="CDB-Text CDB-Size-small u-upperCase u-actionTextColor CDB-Widget-link CDB-Widget-filterButton js-all">全部</button>
|
||||
</div>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
Loading…
Reference in New Issue
Block a user