navigation_menu.html
1 <div id="sidebar" class="prepend-1 prepend-top">
2 <div class="well">
3 <legend>
4 #i18n{announce.navigation_menu.title}
5 </legend>
6
7 <ul class="main-menu">
8 <li>
9 <a href="jsp/site/Portal.jsp?page=announce">#i18n{announce.navigation_menu.home}</a>
10 </li>
11 <li>
12 <a href="jsp/site/Portal.jsp?page=announce&action=addnew">#i18n{announce.navigation_menu.postAnnounce}</a>
13 </li>
14 <li>
15 <a href="jsp/site/Portal.jsp?page=announce&action=my_announces">#i18n{announce.navigation_menu.userAnnounces}</a>
16 </li>
17 <li>
18 <a href="jsp/site/Portal.jsp?page=announce&action=view_subscriptions">#i18n{announce.navigation_menu.usersubscriptions}</a>
19 </li>
20 </ul>
21
22 </div>
23 <div class="well">
24 <legend>
25 #i18n{announce.navigation_menu.categories.title}
26 </legend>
27
28 <ul>
29 <#list list_sectors as sector>
30 <li>
31 <strong>${sector.label} (${sector.numberAnnounces})</strong>
32 <ul>
33 <#list sector.listCategories as category>
34 <li>
35 <#if category.numberAnnounces!=0>
36 <a href="jsp/site/Portal.jsp?page=announce&action=search&hasFilter=true&category_id=${category.id}">${category.label} (${category.numberAnnounces})</a>
37 <#else>
38 ${category.label}
39 </#if>
40 <a class="btn btn-primary" href="jsp/site/Portal.jsp?page=announce-subscribe&action=doCreateCategorySubscription&id_category=${category.id}" title="#i18n{announce.navigation_menu.category_subscription_title}">
41 <i class="fa fa-rss-square"> </i>
42 </a>
43 </li>
44 </#list>
45 </ul>
46 </li>
47 </#list>
48 </ul>
49 </div>
50 </div>