Address comment lints

This commit is contained in:
Michael Ball 2021-04-29 22:35:43 -07:00
parent 4cc2ead074
commit df118b9ae8

View file

@ -34,34 +34,34 @@
.row .row
.col-md-12 .col-md-12
-# %p.text-right -# %p.text-right
-# = link_to '#status-help', class: 'btn btn-default', "data-toggle": "collapse" do = link_to '#status-help', class: 'btn btn-default', "data-toggle": "collapse" do
-# Help? Help?
-# .collapse#status-help -# .collapse#status-help
-# %p %p
-# %strong %strong
-# What happens next with my proposal? What happens next with my proposal?
-# %p %p
-# If you submit a proposal, the conference organizers will review it and either accept or reject it. If you submit a proposal, the conference organizers will review it and either accept or reject it.
-# %br %br
-# If your proposal is accepted, the conference organizers expect you to confirm that you will be able to hold it. If your proposal is accepted, the conference organizers expect you to confirm that you will be able to hold it.
-# %br %br
-# If your proposal is rejected, you can either live with that or adapt it and resubmit it for review again. If your proposal is rejected, you can either live with that or adapt it and resubmit it for review again.
-# %br %br
-# If something changes and you can't hold the presentation any more, you should withdraw it. If something changes and you can't hold the presentation any more, you should withdraw it.
-# %p %p
-# %strong %strong
-# Why do I need to add more information? Why do I need to add more information?
-# %p %p
-# The more information you add to your proposal, the more likely it is that the conference organizers accept your proposal. The more information you add to your proposal, the more likely it is that the conference organizers accept your proposal.
-# %br %br
-# It will also be more likely that visitors find your proposal interesting enough to attend. It will also be more likely that visitors find your proposal interesting enough to attend.
-# - if can? :create, @conference.registrations.new - if can? :create, @conference.registrations.new
-# %p %p
-# %strong %strong
-# Why do I need to register to the conference? Why do I need to register to the conference?
-# %p %p
-# Knowing the number of visitors for the conference helps the organizers plan better. Knowing the number of visitors for the conference helps the organizers plan better.
%table.table.table-striped#events %table.table.table-striped#events
- @events.each do |event| - @events.each do |event|
@ -81,24 +81,24 @@
= link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger' = link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger'
-# %td.col-md-2{style: "padding:20px 8px 20px 8px;"} -# %td.col-md-2{style: "padding:20px 8px 20px 8px;"}
-# %a{href: '#', type: "button", "data-trigger": "click focus", "data-toggle": "popover", %a{href: '#', type: "button", "data-trigger": "click focus", "data-toggle": "popover",
-# title: "Your todo list", title: "Your todo list",
-# "data-content": "#{render 'tooltip', event: event}" } "data-content": "#{render 'tooltip', event: event}" }
-# Complete your proposal Complete your proposal
-# - if can? :create, @conference.registrations.new - if can? :create, @conference.registrations.new
-# - progress_percentage = event.calculate_progress - progress_percentage = event.calculate_progress
-# .progress .progress
-# %div{class: "progress-bar #{event_progress_color(progress_percentage)}", style: "width:#{progress_percentage}%;"} %div{class: "progress-bar #{event_progress_color(progress_percentage)}", style: "width:#{progress_percentage}%;"}
-# = event.progress_status.reject{ |_key, value| value || value.nil? }.length = event.progress_status.reject{ |_key, value| value || value.nil? }.length
-# left left
-# - else - else
-# :ruby :ruby
-# progress_list = event.progress_status progress_list = event.progress_status
-# progress_percentage = (100 * progress_list.values.count(true) / (progress_list.values.compact.count-1)).to_s progress_percentage = (100 * progress_list.values.count(true) / (progress_list.values.compact.count-1)).to_s
-# .progress .progress
-# %div{class: "progress-bar #{event_progress_color(progress_percentage)}", style: "width:#{progress_percentage}%;"} %div{class: "progress-bar #{event_progress_color(progress_percentage)}", style: "width:#{progress_percentage}%;"}
-# = event.progress_status.reject{ |_key, value| value || value.nil? }.length-1 = event.progress_status.reject{ |_key, value| value || value.nil? }.length-1
-# left left
%td.col-md-3{style: "padding:20px 0px 20px 0px;"} %td.col-md-3{style: "padding:20px 0px 20px 0px;"}
.pull-right .pull-right
- if event.transition_possible? :confirm - if event.transition_possible? :confirm