liquid_feedback_frontend
diff app/main/lf2/_issues.lua @ 216:4f6e6b213fb8
Cleanup on second generation frontend code and stylesheet
| author | bsw |
|---|---|
| date | Mon Mar 07 12:15:22 2011 +0100 (2011-03-07) |
| parents | 1dab81353eb1 |
| children | 73dbc9e2bfd4 |
line diff
1.1 --- a/app/main/lf2/_issues.lua Sat Mar 05 15:34:17 2011 +0100 1.2 +++ b/app/main/lf2/_issues.lua Mon Mar 07 12:15:22 2011 +0100 1.3 @@ -63,7 +63,7 @@ 1.4 1.5 end } 1.6 1.7 - ui.box_row{ class = "head", content = function() 1.8 + ui.box_row{ class = "head2", content = function() 1.9 1.10 ui.box_col{ class = "state_name left", content = function() 1.11 ui.tag{ content = issue.state_name } 1.12 @@ -74,13 +74,13 @@ 1.13 end } 1.14 1.15 if #trustees > 1 then 1.16 - local class = "head2" 1.17 - if issue.closed or issue.fully_frozen then 1.18 - class = class .. " head2_last" 1.19 + local class = "head" 1.20 + if not issue.closed and not issue.fully_frozen then 1.21 + class = "head2" 1.22 end 1.23 - ui.box_row{ class = class, content = function() 1.24 + ui.box_row{ class = "head2", content = function() 1.25 ui.box_col{ class = "left", content = function() 1.26 - execute.view{ module = "lf2", view = "_avatars", params = { members = trustees, arrows = true, size = "small" } } 1.27 + execute.view{ module = "lf2", view = "_avatars", params = { members = trustees, arrows = true, size = "small", issue_id = issue.id } } 1.28 end } 1.29 if not issue.closed and not issue.fully_frozen then 1.30 if trustees[1].scope_out == "issue" then 1.31 @@ -99,7 +99,7 @@ 1.32 end 1.33 1.34 if not issue.closed and not issue.fully_frozen then 1.35 - ui.box_row{ class = "head2 head2_last", content = function() 1.36 + ui.box_row{ class = "head", content = function() 1.37 ui.box_col{ class = "interest left", content = function() 1.38 if interest then 1.39 ui.image{ static = "lf2/icon_star.png" }