redmine_add_body_id.patch

This patch adds the current controller name as the body ID, and the controller action as the CLASS - Ale Muñoz, 2008-03-09 16:59

Download (546 Bytes)

View differences:

/Users/ale/Documents/Code/redmine/app/views/layouts/base.rhtml (working copy)
17 17

  
18 18
<!-- page specific tags --><%= yield :header_tags %>
19 19
</head>
20
<body>
20
<body id="<%= @controller.controller_name %>" class="<%= @controller.action_name %>">
21 21
<div id="wrapper">
22 22
<div id="top-menu">
23 23
    <div id="account">