Skip to content

Commit 9c30a53

Browse files
committed
/{category,country}/list: modify a link to point to a category/country creation page.
Correction for 6826b24 commit. User experience change.
1 parent 4c7bac8 commit 9c30a53

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/main/webapp/WEB-INF/views/category/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ <h3 th:text="${#strings.capitalize(category_list)}">
6565
</h3>
6666

6767
<div class="text-center" sec:authorize="hasAuthority('CREATE_CATEGORY')">
68-
<a href="../series/add.html"
68+
<a href="../category/add.html"
6969
class="btn btn-default btn-xs"
70-
th:href="@{${ADD_SERIES_PAGE}}"
71-
th:text="${#strings.capitalize('__#{t_add_series}__')}">
72-
Add a stamp series
70+
th:href="@{${ADD_CATEGORY_PAGE}}"
71+
th:text="${#strings.capitalize('__#{t_create_category}__')}">
72+
Add a category
7373
</a>
7474
</div>
7575

src/main/webapp/WEB-INF/views/country/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ <h3 th:text="${#strings.capitalize(country_list)}">
6565
</h3>
6666

6767
<div class="text-center" sec:authorize="hasAuthority('CREATE_COUNTRY')">
68-
<a href="../series/add.html"
68+
<a href="../country/add.html"
6969
class="btn btn-default btn-xs"
70-
th:href="@{${ADD_SERIES_PAGE}}"
71-
th:text="${#strings.capitalize('__#{t_add_series}__')}">
72-
Add a stamp series
70+
th:href="@{${ADD_COUNTRY_PAGE}}"
71+
th:text="${#strings.capitalize('__#{t_add_country}__')}">
72+
Add a country
7373
</a>
7474
</div>
7575

0 commit comments

Comments
 (0)