diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-24 13:20:13 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-24 13:20:13 +0300 |
commit | 2d9667df264dae9a11fe58f8320a716d61e48e06 (patch) | |
tree | 8253b7cb5c15c8fa444aa6346aa1c3412b911e5d | |
parent | 7049443a4c6f371a8bada496623d73f839841cdc (diff) | |
parent | 961217f87e628c6f26ed8a425653a2a32ceb7461 (diff) | |
download | gitlab-ce-2d9667df264dae9a11fe58f8320a716d61e48e06.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 81bb0e20a35..273a8493f44 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -21,6 +21,10 @@ - if can?(current_user, :admin_project, @project) – %strong= link_to 'Edit', edit_project_path + - elsif @repository.readme + - readme = @repository.readme + = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)) do + = readme.name - unless empty_repo .col-md-5 |