# HG changeset patch # User bsw # Date 1330423692 -3600 # Node ID 2e404166c9a112db966375be65ef79a9755d7a44 # Parent 462ca3002dac2c7c07544817e5172a57cb6dc5cf Added small delegation arrow, small color changes diff -r 462ca3002dac -r 2e404166c9a1 app/main/issue/_list.lua --- a/app/main/issue/_list.lua Mon Feb 27 18:10:47 2012 +0100 +++ b/app/main/issue/_list.lua Tue Feb 28 11:08:12 2012 +0100 @@ -58,7 +58,11 @@ tag = "div", attr = { class = "interest_by_delegation"}, content = function() local member = Member:by_id(issue.is_interested_by_delegation_to_member_id) - ui.tag{ content = "->" } + local text = _"delegated to" + ui.image{ + attr = { class = "delegation_arrow", alt = text, title = text }, + static = "delegation_arrow_24_horizontal.png" + } execute.view{ module = "member_image", view = "_show", @@ -72,9 +76,18 @@ } if issue.is_interested_by_delegation_to_member_id ~= issue.is_interested_via_member_id then if issue.delegation_chain_length > 2 then - ui.tag{ content = "-> ... " } + local text = _"delegated to" + ui.image{ + attr = { class = "delegation_arrow", alt = text, title = text }, + static = "delegation_arrow_24_horizontal.png" + } + ui.tag{ content = "..." } end - ui.tag{ content = "->" } + local text = _"delegated to" + ui.image{ + attr = { class = "delegation_arrow", alt = text, title = text }, + static = "delegation_arrow_24_horizontal.png" + } local member = Member:by_id(issue.is_interested_via_member_id) execute.view{ module = "member_image", diff -r 462ca3002dac -r 2e404166c9a1 static/delegation_arrow_24_horizontal.png Binary file static/delegation_arrow_24_horizontal.png has changed diff -r 462ca3002dac -r 2e404166c9a1 static/style.css --- a/static/style.css Mon Feb 27 18:10:47 2012 +0100 +++ b/static/style.css Tue Feb 28 11:08:12 2012 +0100 @@ -220,7 +220,7 @@ margin-top: 1ex; margin-left: 10px; margin-right: 10px; - background-color: #f7f7f7; + background-color: #eee; border-radius: 8px; } @@ -755,7 +755,7 @@ } .initiatives_list .nohover tr:hover td { - background-color: #f7f7f7; + background-color: #eee; } .nohover table tr:hover td {