liquid_feedback_frontend
changeset 887:2cfa41e89c15
Changed wording for (un)ignore a initiative
author | bsw |
---|---|
date | Mon Aug 20 02:56:26 2012 +0200 (2012-08-20) |
parents | 2e9d39b53b64 |
children | 06e72cc93c64 |
files | app/main/supporter/_show_box.lua |
line diff
1.1 --- a/app/main/supporter/_show_box.lua Mon Aug 20 02:39:13 2012 +0200 1.2 +++ b/app/main/supporter/_show_box.lua Mon Aug 20 02:56:26 2012 +0200 1.3 @@ -78,14 +78,17 @@ 1.4 1.5 1.6 if not initiative.issue.closed then 1.7 - slot.put(" · ") 1.8 + if not initiative.issue.fully_frozen and app.session.member:has_voting_right_for_unit_id(initiative.issue.area.unit_id) then 1.9 + slot.put(" · ") 1.10 + end 1.11 local ignored_initiative = IgnoredInitiative:by_pk(app.session.member.id, initiative.id) 1.12 if ignored_initiative then 1.13 ui.tag{ 1.14 - content = _"You have ignored this initiative" 1.15 + content = _"Ignore initiative" 1.16 } 1.17 + slot.put(" (") 1.18 ui.link{ 1.19 - text = _"Stop ignoring initiative", 1.20 + text = _"Cancel [nullify]", 1.21 module = "initiative", 1.22 action = "update_ignore", 1.23 id = initiative.id, 1.24 @@ -100,6 +103,7 @@ 1.25 } 1.26 } 1.27 } 1.28 + slot.put(")") 1.29 else 1.30 ui.link{ 1.31 text = _"Ignore initiative",