suite
This commit is contained in:
parent
64e75f2a21
commit
612df9f89e
@ -29,18 +29,20 @@
|
|||||||
|
|
||||||
|
|
||||||
-if @m_odr.start_at > Date.today
|
-if @m_odr.start_at > Date.today
|
||||||
%div{:style => "font-weight:bold;font-weight:800;font-size:2em;text-transform:uppercase;font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;text-align:center;line-height:200px;position:relative;top:-35px"}
|
%div{:style => "margin-top:20px;font-weight:bold;font-weight:800;font-size:2em;text-transform:uppercase;font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;text-align:center;"}
|
||||||
-count = ((@m_odr.start_at) - (Date.today))
|
-count = ((@m_odr.start_at) - (Date.today))
|
||||||
|
|
||||||
-if @m_odr.landing_text?
|
-if @m_odr.landing_text?
|
||||||
=@m_odr.landing_text
|
=@m_odr.landing_text
|
||||||
-else
|
-else
|
||||||
Démarrage dans
|
Démarrage
|
||||||
.clock{:style => "margin:2em;display:inline-block;width:auto;margin:0 auto;position:relative;top:35px"}
|
%div{:style => "font-weight:bold;font-weight:800;text-transform:uppercase;font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;text-align:center;line-height:200px;position:relative;top:-40px"}
|
||||||
-if count > 1
|
dans
|
||||||
jours !
|
.clock{:style => "margin:2em;display:inline-block;width:auto;margin:0 auto;position:relative;top:35px"}
|
||||||
-else
|
-if count > 1
|
||||||
jour !
|
jours !
|
||||||
|
-else
|
||||||
|
jour !
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
=raw "var clock_max = #{count};"
|
=raw "var clock_max = #{count};"
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user