diff options
| author | teddywing | 2017-12-14 16:32:38 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-14 16:32:38 +0100 |
| commit | 20473b0de439f63565690e502c4c612623a6f86c (patch) | |
| tree | bf4d8983af8ce909d656a7eac6156f128115dcf5 | |
| parent | 1141369eb6fdb3b58a802fdcc5fef2c2909473c6 (diff) | |
| parent | 18081b1cbe31aeb2d64a4d9b427f287c10e8561e (diff) | |
| download | chouette-core-20473b0de439f63565690e502c4c612623a6f86c.tar.bz2 | |
Merge pull request #148 from af83/5302_dashboard_title_clickable
Make dashboard bloc title clickable
| -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? |
