Project

General

Profile

Patch #2431 ยป redmine-link-to-project.patch

Jonathan Clarke, 2009-01-02 15:33

View differences:

app/views/layouts/base.rhtml (copie de travail)
37 37
        <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
38 38
    </div>
39 39
    
40
    <h1><%= h(@project && !@project.new_record? ? @project.name : Setting.app_title) %></h1>
40
    <h1><%= @project && !@project.new_record? ? link_to(h(@project.name), @project.homepage) : h(Setting.app_title) %></h1>
41 41
    
42 42
    <div id="main-menu">
43 43
        <%= render_main_menu(@project) %>
    (1-1/1)