Skip to content
Snippets Groups Projects
Commit dd2f7006 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #320 - disable charts and reports in menu

parent 472f4249
Branches
Tags
No related merge requests found
Pipeline #172 passed
......@@ -12,20 +12,13 @@ public class EmptyPageController extends BaseController
public String reports(Model model)
{
model.addAttribute("active", "reports");
return "emptyPage";
return "comingSoon";
}
@RequestMapping("/charts")
public String charts(Model model)
{
model.addAttribute("active", "charts");
return "emptyPage";
}
@RequestMapping("/logout")
public String logout(Model model)
{
model.addAttribute("active", "logout");
return "emptyPage";
return "comingSoon";
}
}
\ No newline at end of file
<html>
<head>
<#import "header.ftl" as header>
<@header.header "BudgetMaster"/>
</head>
<body class="budgetmaster-blue-light">
<#import "navbar.ftl" as navbar>
<@navbar.navbar active/>
<main>
<div class="card main-card background-color">
<div class="container">
<div class="section center-align">
<div class="headline">${locale.getString("home.menu.charts")}</div>
</div>
</div>
</div>
</main>
<!-- Scripts-->
<#import "scripts.ftl" as scripts>
<@scripts.scripts/>
</body>
</html>
\ No newline at end of file
......@@ -8,11 +8,12 @@
<@itemWithIcon "accounts", "/accounts", locale.getString("menu.accounts"), "account_balance", "budgetmaster-grey", activeID/>
<@itemWithIcon "payments", "/payments", locale.getString("menu.payments"), "list", "budgetmaster-baby-blue", activeID/>
<@subListStart "chart" locale.getString("menu.charts"), "show_chart" "budgetmaster-purple", activeID/>
<@itemPlain "chartCategories", "", locale.getString("menu.charts.chartCategories"), activeID/>
<@itemPlain "chartMonth", "", locale.getString("menu.charts.chartMonth"), activeID/>
<@itemPlain "chartTags", "", locale.getString("menu.charts.chartTags"), activeID/>
<@itemPlain "chartCategoryBudget", "", locale.getString("menu.charts.chartCategoryBudget"), activeID/>
<@itemPlain "chartHistogram", "", locale.getString("menu.charts.chartHistogram"), activeID/>
<#-- disabled until future versions -->
<#--<@itemPlain "chartCategories", "", locale.getString("menu.charts.chartCategories"), activeID/>-->
<#--<@itemPlain "chartMonth", "", locale.getString("menu.charts.chartMonth"), activeID/>-->
<#--<@itemPlain "chartTags", "", locale.getString("menu.charts.chartTags"), activeID/>-->
<#--<@itemPlain "chartCategoryBudget", "", locale.getString("menu.charts.chartCategoryBudget"), activeID/>-->
<#--<@itemPlain "chartHistogram", "", locale.getString("menu.charts.chartHistogram"), activeID/>-->
<@subListEnd/>
<@itemWithIcon "reports", "/reports", locale.getString("menu.reports"), "description", "budgetmaster-green", activeID/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment