liquid_feedback_frontend

changeset 315:2e404166c9a1

Added small delegation arrow, small color changes
author bsw
date Tue Feb 28 11:08:12 2012 +0100 (2012-02-28)
parents 462ca3002dac
children ec2699978a1f
files app/main/issue/_list.lua static/delegation_arrow_24_horizontal.png static/style.css
line diff
     1.1 --- a/app/main/issue/_list.lua	Mon Feb 27 18:10:47 2012 +0100
     1.2 +++ b/app/main/issue/_list.lua	Tue Feb 28 11:08:12 2012 +0100
     1.3 @@ -58,7 +58,11 @@
     1.4                    tag = "div", attr = { class = "interest_by_delegation"},
     1.5                    content = function()
     1.6                      local member = Member:by_id(issue.is_interested_by_delegation_to_member_id)
     1.7 -                    ui.tag{ content = "->" }
     1.8 +                    local text = _"delegated to"
     1.9 +                    ui.image{
    1.10 +                      attr = { class = "delegation_arrow", alt = text, title = text },
    1.11 +                      static = "delegation_arrow_24_horizontal.png"
    1.12 +                    }
    1.13                      execute.view{
    1.14                        module = "member_image",
    1.15                        view = "_show",
    1.16 @@ -72,9 +76,18 @@
    1.17                      }
    1.18                      if issue.is_interested_by_delegation_to_member_id ~= issue.is_interested_via_member_id then
    1.19                        if issue.delegation_chain_length > 2 then
    1.20 -                        ui.tag{ content = "-> ... " }
    1.21 +                        local text = _"delegated to"
    1.22 +                        ui.image{
    1.23 +                          attr = { class = "delegation_arrow", alt = text, title = text },
    1.24 +                          static = "delegation_arrow_24_horizontal.png"
    1.25 +                        }
    1.26 +                        ui.tag{ content = "..." }
    1.27                        end
    1.28 -                      ui.tag{ content = "->" }
    1.29 +                    local text = _"delegated to"
    1.30 +                      ui.image{
    1.31 +                        attr = { class = "delegation_arrow", alt = text, title = text },
    1.32 +                        static = "delegation_arrow_24_horizontal.png"
    1.33 +                      }
    1.34                        local member = Member:by_id(issue.is_interested_via_member_id)
    1.35                        execute.view{
    1.36                          module = "member_image",
     2.1 Binary file static/delegation_arrow_24_horizontal.png has changed
     3.1 --- a/static/style.css	Mon Feb 27 18:10:47 2012 +0100
     3.2 +++ b/static/style.css	Tue Feb 28 11:08:12 2012 +0100
     3.3 @@ -220,7 +220,7 @@
     3.4    margin-top: 1ex;
     3.5    margin-left: 10px;
     3.6    margin-right: 10px;
     3.7 -  background-color: #f7f7f7;
     3.8 +  background-color: #eee;
     3.9    border-radius: 8px;
    3.10  }
    3.11  
    3.12 @@ -755,7 +755,7 @@
    3.13  }
    3.14  
    3.15  .initiatives_list .nohover tr:hover td {
    3.16 -  background-color: #f7f7f7;
    3.17 +  background-color: #eee;
    3.18  }
    3.19  
    3.20  .nohover table tr:hover td {

Impressum / About Us