liquid_feedback_frontend
changeset 727:161cebfc44d4
Optical improvements
author | bsw |
---|---|
date | Thu Jun 28 16:16:02 2012 +0200 (2012-06-28) |
parents | d3d7a01624f6 |
children | f49cdfb72567 |
files | app/main/draft/_head.lua app/main/draft/diff.lua app/main/initiative/_show.lua |
line diff
1.1 --- a/app/main/draft/_head.lua Thu Jun 28 16:08:45 2012 +0200 1.2 +++ b/app/main/draft/_head.lua Thu Jun 28 16:16:02 2012 +0200 1.3 @@ -2,7 +2,7 @@ 1.4 local initiative = draft.initiative 1.5 local issue = initiative.issue 1.6 1.7 -slot.select("title", function() 1.8 +ui.title(function() 1.9 ui.link{ 1.10 content = issue.area.name, 1.11 module = "area",
2.1 --- a/app/main/draft/diff.lua Thu Jun 28 16:08:45 2012 +0200 2.2 +++ b/app/main/draft/diff.lua Thu Jun 28 16:16:02 2012 +0200 2.3 @@ -26,7 +26,7 @@ 2.4 params = { draft = new_draft} 2.5 } 2.6 2.7 -slot.put_into("title", " · " .. _"Diff") 2.8 +ui.title(_"Diff") 2.9 2.10 if app.session.member_id and not new_draft.initiative.revoked then 2.11 local supporter = Supporter:new_selector():add_where{"member_id = ?", app.session.member_id}:count()
3.1 --- a/app/main/initiative/_show.lua Thu Jun 28 16:08:45 2012 +0200 3.2 +++ b/app/main/initiative/_show.lua Thu Jun 28 16:16:02 2012 +0200 3.3 @@ -64,8 +64,8 @@ 3.4 else 3.5 ui.container{ attr = { class = "title" }, content = text } 3.6 end 3.7 - ui.container{ attr = { class = "content" }, content = function() 3.8 - if app.session.member_id or config.public_access == "pseudonym" or config.public_access == "full" then 3.9 + if app.session.member_id or config.public_access == "pseudonym" or config.public_access == "full" then 3.10 + ui.container{ attr = { class = "content" }, content = function() 3.11 ui.tag{ 3.12 attr = { class = "initiator_names" }, 3.13 content = function() 3.14 @@ -170,11 +170,11 @@ 3.15 end 3.16 end 3.17 } 3.18 - end 3.19 + end } 3.20 + end 3.21 3.22 - end } 3.23 - ui.container{ attr = { class = "content" }, content = function() 3.24 - if app.session.member_id then 3.25 + if app.session.member_id then 3.26 + ui.container{ attr = { class = "content" }, content = function() 3.27 execute.view{ 3.28 module = "supporter", 3.29 view = "_show_box", 3.30 @@ -182,9 +182,8 @@ 3.31 initiative = initiative 3.32 } 3.33 } 3.34 - end 3.35 - 3.36 - end } 3.37 + end } 3.38 + end 3.39 3.40 3.41 -- voting results