Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Instance option to disable voting #648

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alex-obi
Copy link
Contributor

Implements an option to disable voting for an instance, as mentioned here: hhucn/adhocracy.hhu_theme#451

@ghost ghost assigned xi Nov 25, 2013
if not config.get_bool('adhocracy.hide_final_adoption_votings'):
updated_attributes.extend(
['required_majority', 'activation_delay', 'allow_adopt'])
updated = update_attributes(
c.page_instance, self.form_result, updated_attributes)


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove all trailing whitespace

@xi
Copy link
Collaborator

xi commented Nov 25, 2013

Looks good to me. However, I have no experience with cache invalidation in adhocracy. So someone else should double check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants