Skip to content

Commit 112a4c5

Browse files
committed
Rename Togglz feature (PURCHASES_AND_SALES -> SHOW_PURCHASES_AND_SALES).
Should be in c5e733b commit. No functional changes.
1 parent ffd3667 commit 112a4c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/ru/mystamps/web/support/togglz/Features.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public enum Features implements Feature {
7070

7171
@Label("Show series purchases and sales on series info page")
7272
@EnabledByDefault
73-
PURCHASES_AND_SALES;
73+
SHOW_PURCHASES_AND_SALES;
7474

7575
public boolean isActive() {
7676
return FeatureContext.getFeatureManager().isActive(this);

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
</div>
273273

274274
<div class="col-sm-4">
275-
<div class="row" th:if="${not #lists.isEmpty(purchasesAndSales)}" togglz:active="PURCHASES_AND_SALES" sec:authorize="hasAuthority('VIEW_SERIES_SALES')">
275+
<div class="row" th:if="${not #lists.isEmpty(purchasesAndSales)}" togglz:active="SHOW_PURCHASES_AND_SALES" sec:authorize="hasAuthority('VIEW_SERIES_SALES')">
276276
<div class="col-sm-12">
277277
<h5 th:text="|#{t_who_selling_series}:|">Who was selling/buying this series:</h5>
278278
<ul th:remove="all-but-first">

0 commit comments

Comments
 (0)