#751: show link to diff in "Items" section

This commit is contained in:
Vokhmin Alexey V 2012-12-04 19:48:30 +04:00
parent b4472a1403
commit 5defd009d3
2 changed files with 3 additions and 2 deletions

View File

@ -153,7 +153,8 @@
%tbody
%tr{:class => build_list_item_status_color(item.status)}
%td= item.name
%td= item.version
- version = item.name == @build_list.project.name ? build_list_version_link(@build_list, true) : ''
%td= version
%td= item.human_status
.both

View File

@ -28,7 +28,7 @@ module AbfWorker
def find_or_create_item(bl)
bl.items.first || bl.items.create({
:version => bl.project_version,
:version => bl.commit_hash,
:name => bl.project.name,
:status => BuildServer::BUILD_STARTED,
:level => 0