# HG changeset patch # User bsw # Date 1345424186 -7200 # Node ID 2cfa41e89c15c5cdf7a8d1b79fce228ac82eb62b # Parent 2e9d39b53b64a3a69e3edaaca98d349d156eedfa Changed wording for (un)ignore a initiative diff -r 2e9d39b53b64 -r 2cfa41e89c15 app/main/supporter/_show_box.lua --- a/app/main/supporter/_show_box.lua Mon Aug 20 02:39:13 2012 +0200 +++ b/app/main/supporter/_show_box.lua Mon Aug 20 02:56:26 2012 +0200 @@ -78,14 +78,17 @@ if not initiative.issue.closed then - slot.put(" · ") + if not initiative.issue.fully_frozen and app.session.member:has_voting_right_for_unit_id(initiative.issue.area.unit_id) then + slot.put(" · ") + end local ignored_initiative = IgnoredInitiative:by_pk(app.session.member.id, initiative.id) if ignored_initiative then ui.tag{ - content = _"You have ignored this initiative" + content = _"Ignore initiative" } + slot.put(" (") ui.link{ - text = _"Stop ignoring initiative", + text = _"Cancel [nullify]", module = "initiative", action = "update_ignore", id = initiative.id, @@ -100,6 +103,7 @@ } } } + slot.put(")") else ui.link{ text = _"Ignore initiative",