Skip to content

Commit 05dd158

Browse files
committed
Features: rename INFO_COUNTRY_SERIES to SHOW_SUGGESTION_LINK.
No functional changes.
1 parent af255c1 commit 05dd158

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
@@ -78,7 +78,7 @@ public enum Features implements Feature {
7878

7979
@Label("/series/add: show link with auto-suggestions")
8080
@EnabledByDefault
81-
INFO_COUNTRY_SERIES;
81+
SHOW_SUGGESTION_LINK;
8282

8383
public boolean isActive() {
8484
return FeatureContext.getFeatureManager().isActive(this);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
203203
/*/-->
204204
</div>
205205

206-
<small togglz:active="INFO_COUNTRY_SERIES">
206+
<small togglz:active="SHOW_SUGGESTION_LINK">
207207
<a tabindex="-1" th:text="#{t_guess_country}" href="javascript:void(0)" id="js-guess-country-link" th:style="'display: none; position: relative; top: 7px;'">Guess a country</a>
208208
</small>
209209
</div>

0 commit comments

Comments
 (0)