From c695a1f9b2e5bf82b598c952954dd4f410d8caf3 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 8 Aug 2019 04:17:58 +0000 Subject: [PATCH] Add popapp comparison report link to Reports. Add route and access to report. #248 --- config/acl.yaml | 2 ++ config/routes/report.yaml | 5 +++++ templates/base.html.twig | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+) diff --git a/config/acl.yaml b/config/acl.yaml index 9de80027..64b53ad1 100644 --- a/config/acl.yaml +++ b/config/acl.yaml @@ -290,6 +290,8 @@ access_keys: label: Rejection Report - id: report.battery.conflict label: Battery Conflict Report + - id: report.popapp.comparison + label: Popapp Comparison Report - id: service label: Other Services diff --git a/config/routes/report.yaml b/config/routes/report.yaml index c8560798..25d637c6 100644 --- a/config/routes/report.yaml +++ b/config/routes/report.yaml @@ -27,3 +27,8 @@ rep_battery_conflict_submit: path: /report/battery_conflict controller: App\Controller\ReportController::batteryConflictSubmit methods: [POST] + +rep_popapp_comp_form: + path: /report/popapp_comparison + controller: App\Controller\ReportController::popappComparisonForm + methods: [POST] diff --git a/templates/base.html.twig b/templates/base.html.twig index e61acf78..9052bb17 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -140,6 +140,26 @@ +