|
24 | 24 |
|
25 | 25 | public enum Features implements Feature {
|
26 | 26 |
|
27 |
| - @Label("Send mail with activation key to user") |
28 |
| - @EnabledByDefault |
29 |
| - SEND_ACTIVATION_MAIL, |
30 |
| - |
31 |
| - @Label("Show list of recently added series on index page") |
| 27 | + @Label("/site/index: show list of recently added series") |
32 | 28 | @EnabledByDefault
|
33 | 29 | SHOW_RECENT_SERIES_ON_INDEX_PAGE,
|
34 | 30 |
|
35 |
| - @Label("Show list of recently created collections on index page") |
| 31 | + @Label("/site/index: show list of recently created collections") |
36 | 32 | @EnabledByDefault
|
37 | 33 | SHOW_RECENT_COLLECTIONS_ON_INDEX_PAGE,
|
38 | 34 |
|
39 |
| - @Label("Show search panel on index page") |
| 35 | + @Label("/site/index: show search panel") |
40 | 36 | @EnabledByDefault
|
41 | 37 | SHOW_SEARCH_PANEL_ON_INDEX_PAGE,
|
42 | 38 |
|
43 |
| - @Label("View site events") |
44 |
| - @EnabledByDefault |
45 |
| - VIEW_SITE_EVENTS, |
46 |
| - |
47 |
| - @Label("Show statistics of collection on collection page") |
| 39 | + @Label("/site/index: show link to list of categories") |
48 | 40 | @EnabledByDefault
|
49 |
| - SHOW_COLLECTION_STATISTICS, |
| 41 | + LIST_CATEGORIES, |
50 | 42 |
|
51 |
| - @Label("Show charts on collection page") |
| 43 | + @Label("/site/index: show link to list of countries") |
52 | 44 | @EnabledByDefault
|
53 |
| - SHOW_COLLECTION_CHARTS, |
| 45 | + LIST_COUNTRIES, |
54 | 46 |
|
55 |
| - @Label("Possibility to user to add series to collection") |
| 47 | + @Label("/series/{id}: possibility to user to add series to collection") |
56 | 48 | @EnabledByDefault
|
57 | 49 | ADD_SERIES_TO_COLLECTION,
|
58 | 50 |
|
59 |
| - @Label("Possibility of user to add additional images to series") |
| 51 | + @Label("/series/{id}: possibility of user to add additional images to series") |
60 | 52 | @EnabledByDefault
|
61 | 53 | ADD_ADDITIONAL_IMAGES_TO_SERIES,
|
62 | 54 |
|
63 |
| - @Label("Show link to list of categories on index page") |
| 55 | + @Label("/series/{id}: show series purchases and sales") |
64 | 56 | @EnabledByDefault
|
65 |
| - LIST_CATEGORIES, |
| 57 | + SHOW_PURCHASES_AND_SALES, |
66 | 58 |
|
67 |
| - @Label("Show link to list of countries on index page") |
| 59 | + @Label("/series/{id}: possibility of user to add series purchases and sales") |
68 | 60 | @EnabledByDefault
|
69 |
| - LIST_COUNTRIES, |
| 61 | + ADD_PURCHASES_AND_SALES, |
70 | 62 |
|
71 |
| - @Label("Show series purchases and sales on series info page") |
| 63 | + @Label("/collection/{slug}: show statistics of collection") |
72 | 64 | @EnabledByDefault
|
73 |
| - SHOW_PURCHASES_AND_SALES, |
| 65 | + SHOW_COLLECTION_STATISTICS, |
74 | 66 |
|
75 |
| - @Label("/series/{id}: possibility of user to add series purchases and sales") |
| 67 | + @Label("/collection/{slug}: show charts on collection page") |
| 68 | + @EnabledByDefault |
| 69 | + SHOW_COLLECTION_CHARTS, |
| 70 | + |
| 71 | + @Label("Send mail with activation key to user") |
| 72 | + @EnabledByDefault |
| 73 | + SEND_ACTIVATION_MAIL, |
| 74 | + |
| 75 | + @Label("View site events") |
76 | 76 | @EnabledByDefault
|
77 |
| - ADD_PURCHASES_AND_SALES; |
| 77 | + VIEW_SITE_EVENTS; |
78 | 78 |
|
79 | 79 | public boolean isActive() {
|
80 | 80 | return FeatureContext.getFeatureManager().isActive(this);
|
|
0 commit comments