Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Lectures20 horizontal scrolling layout bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvislov committed Mar 30, 2013
1 parent e8d7e78 commit ff4226b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions app/views/web/user_lectures/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@
= t(".not_added_yet")
= link_to t(".first_speaker"), new_account_lecture_path
- else
.span12
#{ t '.sort_by' }: 
-#FIXME решение в лоб. Наверняка есть более элегантное решение
= sort_clink(@search, :lecture_votings_count, t('.by_lecture_votings_count'), {default_order: :desc, workshop_id_eq: params[:workshop_id_eq] })
  
= sort_clink(@search, :created_at, t('.by_created_at'), { workshop_id_eq: params[:workshop_id_eq] })
%br
%br
.clearfix
.row
#{ t '.sort_by' }: 
-#FIXME решение в лоб. Наверняка есть более элегантное решение
= sort_clink(@search, :lecture_votings_count, t('.by_lecture_votings_count'), {default_order: :desc, workshop_id_eq: params[:workshop_id_eq] })
  
= sort_clink(@search, :created_at, t('.by_created_at'), { workshop_id_eq: params[:workshop_id_eq] })
%br
%br

- @lectures.each do |lecture|
.row-fluid.event-item
Expand Down

0 comments on commit ff4226b

Please sign in to comment.