Project

General

Profile

Defect #10 ยป prefix.patch

Atsushi Koga, 2008-02-03 10:48

View differences:

app/views/layouts/base.rhtml (working copy)
61 61

  
62 62
    <% if admin_loggedin? %>
63 63
    <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)">
64
        <a class="menuItem" href="/admin/projects" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
65
        <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
66
        <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a>
67
        <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
68
        <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a>
69
        <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a>
70
        <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a>
71
        <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a>
72
        <a class="menuItem" href="/settings"><%=l(:label_settings)%></a>
73
        <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a>
64
        <a class="menuItem" href="<%=url_for :controller => 'admin/projects' %>" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
65
        <a class="menuItem" href="<%=url_for :controller => 'users'%>" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
66
        <a class="menuItem" href="<%=url_for :controller => 'roles'%>"><%=l(:label_role_and_permissions)%></a>
67
        <a class="menuItem" href="<%=url_for :controller => 'trackers'%>" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">&#9654;</span></a>
68
        <a class="menuItem" href="<%=url_for :controller => 'custom_fields'%>"><%=l(:label_custom_field_plural)%></a>
69
        <a class="menuItem" href="<%=url_for :controller => 'enumerations'%>"><%=l(:label_enumerations)%></a>
70
        <a class="menuItem" href="<%=url_for :controller => 'admin/mail_options'%>"><%=l(:field_mail_notification)%></a>
71
        <a class="menuItem" href="<%=url_for :controller => 'auth_sources'%>"><%=l(:label_authentication)%></a>
72
        <a class="menuItem" href="<%=url_for :controller => 'settings'%>"><%=l(:label_settings)%></a>
73
        <a class="menuItem" href="<%=url_for :controller => 'admin/info'%>"><%=l(:label_information_plural)%></a>
74 74
    </div>
75 75
    <div id="menuTrackers" class="menu">
76
        <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a>
77
        <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a>
76
      <a class="menuItem" href="<%=url_for :controller => 'issue_statuses'%>"><%=l(:label_issue_status_plural)%></a>
77
      <a class="menuItem" href="<%=url_for :controller => 'roles/workflow'%>"><%=l(:label_workflow)%></a>
78 78
    </div>
79
    <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div>
80
    <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div>
79
    <div id="menuProjects" class="menu"><a class="menuItem" href="<%=url_for :controller => 'projects/add'%>"><%=l(:label_new)%></a></div>
80
    <div id="menuUsers" class="menu"><a class="menuItem" href="<%=url_for :controller => 'users/add'%>"><%=l(:label_new)%></a></div>
81 81
    <% end %>
82 82
    
83 83
    <% unless @project.nil? || @project.id.nil? %>
......
144 144

  
145 145
</div>
146 146
</body>
147
</html>
147
</html>
    (1-1/1)