mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Remove duplicate code and style fixes
This commit is contained in:
parent
91629d9b92
commit
efdb2cd63b
2 changed files with 0 additions and 8 deletions
|
|
@ -8,7 +8,6 @@ class ProposalsController < ApplicationController
|
|||
# We authorize manually in these actions
|
||||
skip_authorize_resource :event, only: [:confirm, :restart, :withdraw]
|
||||
|
||||
|
||||
def index
|
||||
@event = @program.events.new
|
||||
@event.event_users.new(user: current_user, event_role: 'submitter')
|
||||
|
|
|
|||
|
|
@ -15,13 +15,6 @@
|
|||
"data-user" => current_user.id }
|
||||
= event.title
|
||||
|
||||
- if current_user
|
||||
= link_to('#', onClick: 'starClicked();') do
|
||||
%span#star{ class: "fa fa-lg #{ event.favourite_users.exists?(current_user.id) ? 'fa-star' : 'fa-star-o' }", |
|
||||
"aria-hidden" =>"true", |
|
||||
"data-url" => conference_program_proposal_path(@conference.short_title, event.id), |
|
||||
"data-user" => current_user.id }
|
||||
|
||||
- event.speakers_ordered.each do |speaker|
|
||||
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
|
||||
:alt => speaker.name, |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue