Skip to content

Commit

Permalink
Fix some template errors uncovered by the last ekklesia-common change
Browse files Browse the repository at this point in the history
Missing cell attributes were suppressed before, which masked these
errors.
  • Loading branch information
dpausp committed Aug 17, 2021
1 parent 6e42238 commit 7a0057f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ def show_voting(self):
def show_ca_button(self):
return # self.current_user is not None

def title(self):
return self.proposition_title

def vote(self):
return self._model.user_vote(self.current_user)

def num_counter_arguments(self):
return 0

def proposition_url(self):
return self.link(self._model.proposition)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
.argument_relation_actions
.counter_arguments
if show_ca_button
num_counter_arguments = counter_arguments|length
a.counter_arguments_btn(href="#")
strong.large_number= num_counter_arguments
| 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
a(href=become_submitter_url)= become_submitter_url

if valid_submitter_invitation_key and not current_user_is_submitter
p = _('invited_to_become_submitter')
p= _('invited_to_become_submitter')

if current_user
form.become_submitter_form(action=become_submitter_action, method="POST")
Expand Down

0 comments on commit 7a0057f

Please sign in to comment.