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
|
%td
|
||||||
= link_to @event.submitter.name, admin_user_path(@event.submitter)
|
= link_to @event.submitter.name, admin_user_path(@event.submitter)
|
||||||
- if @event.submitter.email_public
|
- if @event.submitter.email_public
|
||||||
(
|
= "(#{mail_to(@event.submitter.email)})"
|
||||||
= link_to @event.submitter.email, "mailto: #{@event.submitter.email}"
|
|
||||||
)
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%td
|
||||||
%b Speakers
|
%b Speakers
|
||||||
|
|
@ -84,9 +82,7 @@
|
||||||
%div
|
%div
|
||||||
= link_to speaker.name, admin_user_path(speaker)
|
= link_to speaker.name, admin_user_path(speaker)
|
||||||
- if speaker.email_public
|
- if speaker.email_public
|
||||||
(
|
= "(#{mail_to(speaker.email)})"
|
||||||
= link_to speaker.email, "mailto: #{speaker.email}"
|
|
||||||
)
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%td
|
||||||
%b Volunteers
|
%b Volunteers
|
||||||
|
|
@ -117,6 +113,7 @@
|
||||||
%td
|
%td
|
||||||
%b Submission Description
|
%b Submission Description
|
||||||
%td= markdown(@event.submission_text)
|
%td= markdown(@event.submission_text)
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%td
|
||||||
%b Requirements
|
%b Requirements
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,10 @@
|
||||||
= render 'proposals/submission_type_content_form', f: f, program: @program
|
= render 'proposals/submission_type_content_form', f: f, program: @program
|
||||||
|
|
||||||
-# TODO-SNAPCON: Extract this to be a `conference_committee_role?`
|
-# 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
|
%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.')
|
hint: markdown_hint('This field is shared with the submission authors.')
|
||||||
|
|
||||||
- if @program.cfp&.enable_registrations?
|
- if @program.cfp&.enable_registrations?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue