promotion label removed
This commit is contained in:
parent
f184a231e1
commit
f463b538f7
@ -1,9 +1,6 @@
|
||||
.promotion{:style => ("margin-right:0px" if (promotion_counter+1).modulo(3) == 0)}
|
||||
|
||||
-if promotion.month.beginning_of_month == Date.today.beginning_of_month
|
||||
.label= image_tag ('front/en-cours.png')
|
||||
-elsif promotion.month.beginning_of_month == Date.today.next_month.beginning_of_month
|
||||
.label= image_tag ('front/a-venir.png')
|
||||
|
||||
.img
|
||||
=image_tag promotion.image_file.file.square.url if promotion.image_file
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user