更新 'lib/assets/javascripts/deep-insights/widgets/category/options/options-template.tpl'

This commit is contained in:
zhongjin 2023-05-21 11:26:58 +08:00
parent 6f3f9b70b1
commit d5b3e9b6d7

View File

@ -1,23 +1,23 @@
<% if (isSearchEnabled) { %> <% 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 { %> <% } else { %>
<p class="CDB-Text is-semibold CDB-Size-small u-upperCase js-textInfo"> <p class="CDB-Text is-semibold CDB-Size-small u-upperCase js-textInfo">
<% if (isLocked) { %> <% 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 { %> <% } else { %>
<% if (noneSelected) { %> <% if (noneSelected) { %>
None selected None selected
<% } else { %> <% } else { %>
<%- allSelected ? "All selected" : acceptedCats + " selected" %> <%- allSelected ? "全部范围" : acceptedCats + " 选择" %>
<% if (canBeLocked) { %> <% 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> </p>
<% if (canSelectAll) { %> <% if (canSelectAll) { %>
<div class="CDB-Widget-filterButtons"> <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> </div>
<% } %> <% } %>
<% } %> <% } %>