Minor tidying up
This commit is contained in:
parent
6ce36c0fca
commit
0e74c2e296
2 changed files with 6 additions and 8 deletions
|
|
@ -73,9 +73,7 @@
|
|||
%td
|
||||
= link_to @event.submitter.name, admin_user_path(@event.submitter)
|
||||
- if @event.submitter.email_public
|
||||
(
|
||||
= link_to @event.submitter.email, "mailto: #{@event.submitter.email}"
|
||||
)
|
||||
= "(#{mail_to(@event.submitter.email)})"
|
||||
%tr
|
||||
%td
|
||||
%b Speakers
|
||||
|
|
@ -84,9 +82,7 @@
|
|||
%div
|
||||
= link_to speaker.name, admin_user_path(speaker)
|
||||
- if speaker.email_public
|
||||
(
|
||||
= link_to speaker.email, "mailto: #{speaker.email}"
|
||||
)
|
||||
= "(#{mail_to(speaker.email)})"
|
||||
%tr
|
||||
%td
|
||||
%b Volunteers
|
||||
|
|
@ -117,6 +113,7 @@
|
|||
%td
|
||||
%b Submission Description
|
||||
%td= markdown(@event.submission_text)
|
||||
|
||||
%tr
|
||||
%td
|
||||
%b Requirements
|
||||
|
|
|
|||
|
|
@ -28,9 +28,10 @@
|
|||
= render 'proposals/submission_type_content_form', f: f, program: @program
|
||||
|
||||
-# TODO-SNAPCON: Extract this to be a `conference_committee_role?`
|
||||
- if current_user.has_any_role? :admin, { name: :organizer, resource: @conference }, { name: :cfp, resource: @conference }
|
||||
- read_only = !current_user.has_any_role? :admin, { name: :organizer, resource: @conference }, { name: :cfp, resource: @conference }
|
||||
%br
|
||||
= f.input :committee_review, input_html: { rows: 5, data: { provide: 'markdown' } },
|
||||
= f.input :committee_review,
|
||||
input_html: { rows: 5, data: { provide: 'markdown' }, readonly: read_only },
|
||||
hint: markdown_hint('This field is shared with the submission authors.')
|
||||
|
||||
- if @program.cfp&.enable_registrations?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue