Remove blind_voting overreach
The 'Blind Voting' feature is described as: > you do not want to show voting results and voters prior to user > submitting a vote. It does not imply or suggest that speaker or submitter names should be hidden (especially from admins). Resolves https://github.com/openSUSE/osem/issues/1984
This commit is contained in:
parent
9e10678542
commit
4c58104a65
2 changed files with 18 additions and 30 deletions
|
|
@ -122,26 +122,20 @@
|
|||
%td
|
||||
%b Submitter
|
||||
%td
|
||||
- if @program.show_voting?
|
||||
= link_to @event.submitter.name, admin_user_path(@event.submitter)
|
||||
(
|
||||
= link_to @event.submitter.email, "mailto: #{@event.submitter.email}"
|
||||
)
|
||||
- else
|
||||
%i Hidden
|
||||
= link_to @event.submitter.name, admin_user_path(@event.submitter)
|
||||
(
|
||||
= link_to @event.submitter.email, "mailto: #{@event.submitter.email}"
|
||||
)
|
||||
%tr
|
||||
%td
|
||||
%b Speakers
|
||||
%td
|
||||
- if @program.show_voting?
|
||||
- @event.speakers.each do |speaker|
|
||||
%div
|
||||
= link_to speaker.name, admin_user_path(speaker)
|
||||
(
|
||||
= link_to speaker.email, "mailto: #{speaker.email}"
|
||||
)
|
||||
- else
|
||||
%i Hidden
|
||||
- @event.speakers.each do |speaker|
|
||||
%div
|
||||
= link_to speaker.name, admin_user_path(speaker)
|
||||
(
|
||||
= link_to speaker.email, "mailto: #{speaker.email}"
|
||||
)
|
||||
%tr
|
||||
%td
|
||||
%b Biographies
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue