diff options
| author | Xinhui | 2017-12-14 12:19:19 +0100 |
|---|---|---|
| committer | Xinhui | 2017-12-14 12:19:19 +0100 |
| commit | 18081b1cbe31aeb2d64a4d9b427f287c10e8561e (patch) | |
| tree | c7c089f32706759ea3eeb7e7f911ef01b606bac1 | |
| parent | 75b22972935ae660209430255cebabb2e781542b (diff) | |
| download | chouette-core-18081b1cbe31aeb2d64a4d9b427f287c10e8561e.tar.bz2 | |
Make dashboard bloc title clickable
Refs #5302
| -rw-r--r-- | app/views/dashboards/_dashboard.html.slim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim index f03301e23..e5aa5093a 100644 --- a/app/views/dashboards/_dashboard.html.slim +++ b/app/views/dashboards/_dashboard.html.slim @@ -5,7 +5,7 @@ .panel-heading h3.panel-title.with_actions div - = workbench.name + = link_to workbench.name, workbench_path(workbench) span.badge.ml-xs = workbench.referentials.count if workbench.referentials.present? div @@ -22,7 +22,7 @@ .panel.panel-default .panel-heading h3.panel-title.with_actions - = "Modèles de calendrier" + = link_to "Modèles de calendrier", calendars_path div = link_to '', calendars_path, class: ' fa fa-chevron-right pull-right' - if @dashboard.current_organisation.calendars.present? |
