From fda2b7b07349fd20cc70d68bf1544a7f51841f70 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Sat, 30 Sep 2017 14:17:28 +0200 Subject: Create DashboardController with STIF implementation. Refs #4655 --- app/views/dashboards/show.html.slim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/views/dashboards/show.html.slim (limited to 'app/views/dashboards') diff --git a/app/views/dashboards/show.html.slim b/app/views/dashboards/show.html.slim new file mode 100644 index 000000000..66154712d --- /dev/null +++ b/app/views/dashboards/show.html.slim @@ -0,0 +1,15 @@ +/ PageHeader += pageheader 'tableau-de-bord', + t('.title', organisation: current_organisation.name) + + / Below is secundary actions & optional contents (filters, ...) + .row.mb-sm + .col-lg-12.text-right + - if policy(Api::V1::ApiKey).create? + = link_to t('actions.create_api_key'), new_api_key_path, class: 'btn btn-primary' + + +/ PageContent +.page_content + .container-fluid + = render partial: @dashboard -- cgit v1.2.3