Skip to content

Commit

Permalink
Remove more unused code in votings
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed May 29, 2018
1 parent f30b164 commit ad98dfd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions decidim-module-votings/app/models/decidim/votings/voting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ def active?
(start_date.to_datetime..end_date.to_datetime).cover? DateTime.current
end

def in_scope?(_user)
true
end

def started?
start_date < Time.zone.now
end
Expand Down
1 change: 0 additions & 1 deletion decidim-module-votings/config/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ ca:
voters: descarregar identificadors de votants
messages:
finished: Ha arribat la data límit per votar. La votació està tancada.
invalid_scope: No pots votar en aquesta zona.
already_voted: Ja has votat en aquesta votació. No obstant això, pots canviar el teu vot mentre la votació continuï oberta
models:
voting:
Expand Down
1 change: 0 additions & 1 deletion decidim-module-votings/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ en:
voters: Download voters identifiers
messages:
finished: Ha llegado la fecha límite para votar. La votación está cerrada.
invalid_scope: No puedes votar en esta zona.
already_voted: You have already voted on this voting. However, you can change your vote while the voting is still open
models:
voting:
Expand Down
1 change: 0 additions & 1 deletion decidim-module-votings/config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ es:
voters: Descargar identificadores de votantes
messages:
finished: Ha llegado la fecha límite para votar. La votación está cerrada.
invalid_scope: No puedes votar en esta zona.
already_voted: Ya has votado en esta votación. No obstante, puedes cambiar tu voto mientras la votación continúe abierta
models:
voting:
Expand Down

0 comments on commit ad98dfd

Please sign in to comment.