|
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible"> |
6 | 6 | <meta content="width=device-width, initial-scale=1.0" name="viewport"> |
7 | | - <title> |
8 | | - <% if content_for? :window_title %> |
9 | | - <%= content_for :window_title %> |
10 | | - <% else %> |
11 | | - <% if current_organization %> |
12 | | - <%= current_organization %> — |
13 | | - <% end %> |
14 | | - <%= yield :title %> |
15 | | - <% end %> |
16 | | - </title> |
| 7 | + <title><%= page_title %></title> |
17 | 8 | <%= csrf_meta_tags %> |
18 | 9 | <link href="/favicon.ico" rel="shortcut icon"> |
19 | 10 | <%= stylesheet_link_tag 'libs', media: 'all' %> |
20 | 11 | <%= stylesheet_link_tag 'application', media: 'all' %> |
21 | | - <%= stylesheet_link_tag 'application', 'https://fonts.googleapis.com/css?family=Work+Sans:400,500,600,700' %> |
22 | | - <%= stylesheet_link_tag 'application', 'https://fonts.googleapis.com/icon?family=Material+Icons' %> |
| 12 | + <%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Work+Sans:400,500,600,700' %> |
| 13 | + <%= stylesheet_link_tag 'https://fonts.googleapis.com/icon?family=Material+Icons' %> |
23 | 14 | <%= javascript_include_tag 'libs' %> |
24 | 15 | <%= javascript_include_tag 'application' %> |
25 | 16 | </head> |
26 | | - <body class="<%= get_body_css_class(controller.controller_name) %>" data-action="<%= params[:controller] %>-<%= params[:action] %>"> |
| 17 | + <body class="<%= get_body_css_class(controller_name) %>"> |
27 | 18 | <%= render 'navbar' %> |
28 | 19 | <div class="container content"> |
29 | 20 | <%= render 'layouts/messages' unless devise_controller? %> |
|
38 | 29 | <%= render 'application/footer' %> |
39 | 30 |
|
40 | 31 | <div class="back-overlay"></div> |
41 | | - <!-- Piwik --> |
42 | | - <script type="text/javascript"> |
43 | | - var _paq = _paq || []; |
44 | | - _paq.push(['trackPageView']); |
45 | | - _paq.push(['enableLinkTracking']); |
46 | | - (function() { |
47 | | - _paq.push(['setTrackerUrl', 'https://api-3d186b7b77a47155c00f114ddc52a2e7.fki.sandcats.io']); |
48 | | - _paq.push(['setSiteId', 1]); |
49 | | - _paq.push(['setApiToken', 'YIg1zq997dOFyvS5VTi4RZ0hnC0Ji3MkeYgHNvdky0c']); |
50 | | - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
51 | | - g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://00cwpvzw77kc4cysvzdy.fki.sandcats.io/embed.js'; s.parentNode.insertBefore(g,s); |
52 | | - })(); |
53 | | - </script> |
54 | | - <!-- End Piwik Code --> |
55 | 32 | </body> |
56 | 33 | </html> |
0 commit comments