Permalink
Browse files

Improve presentation of the presentation listing

  • Loading branch information...
1 parent 998c7e6 commit 3a3139f1abec9a968889e5fb181bf61fbab1f543 @tibastral committed Oct 3, 2012
View
@@ -13,3 +13,4 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
+.DS_Store
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -6,6 +6,9 @@ h1
h1, h2
text-align: center
+h3
+ margin-top: 0
+
.wrapper
font-family: Helvetica neue, sans-serif
+container
@@ -60,3 +63,5 @@ form
.clear
clear: both
+.difficulty img
+ height: 25px
@@ -13,15 +13,20 @@
.presentations
%h2 Talks proposés pour le prochain meetup:
- @presentations.each do |presentation|
- %p.presentation-el{class: format_oldness(presentation.created_at)}
- = presentation.name
- nous propose une présentation sur :
- %br
- = presentation.title
- - if presentation.length && presentation.length < 6
- (lightning talk)
- - else
- (durée : #{presentation.length || 20} min)
+ .presentation-el{class: format_oldness(presentation.created_at)}
+ .presentation
+ %h3
+ = presentation.title
+ - if presentation.length && presentation.length < 6
+ (lightning talk)
+ - else
+ (durée : #{presentation.length || 20} min)
+ proposé par #{presentation.name}
+ .difficulty
+ Niveau requis:
+ - (presentation.difficulty || 1).to_i.times do
+ = image_tag('ruby.png')
+ .clear
%h2 Talks ayant eu lieu :
- @old_presentations.each do |presentation|
%p.presentation-el

0 comments on commit 3a3139f

Please sign in to comment.