Skip to content

Commit

Permalink
help pour les logos
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinelp committed Jun 13, 2019
1 parent 5178aeb commit bb493be
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/views/pages/dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
<div class="reward">
<div class="reward-content">
<% if key == :futureme %>
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- dragon couleur cat -->
<!-- <i class=" <%= key %> fas fa-medal fa-lg"></i> -->
<% elsif key == :dailyactivities %>
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- dragon couleur cat -->
<!-- <i class=" <%= key %> fas fa-medal fa-lg"></i> -->
<% elsif key == :interactions %>
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- dragon couleur cat -->
<!-- <i class=" <%= key %> fas fa-medal fa-lg"></i> -->
<% elsif key == :curiosity %>
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- dragon couleur cat -->
<!-- <i class=" <%= key %> fas fa-medal fa-lg"></i> -->
<% end %>
</div>
Expand All @@ -31,19 +31,19 @@
<% if @counter[:dailyactivities] == @counter[:futureme] && @counter[:futureme] == @counter[:interactions] && @counter[:interactions] == @counter[:curiosity] %>
<% if @counter[:dailyactivities] >= 1 %>
<div class="reward">
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- bébé dragon -->
<!-- <i class="bronze fas fa-trophy fa-lg"></i> -->
</div>
<% end %>
<% if @counter[:dailyactivities] >= 2 %>
<div class="reward">
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- petit dragon -->
<!-- <i class="silver fas fa-trophy fa-lg"></i> -->
</div>
<% end %>
<% if @counter[:dailyactivities] >= 3 %>
<div class="reward">
<%= image_tag('medal-test', size: "100") %>
<%= image_tag('medal-test', size: "100") %> <!-- grand dragon -->
<!-- <i class="gold fas fa-trophy fa-lg"></i> -->
</div>
<% end %>
Expand Down

0 comments on commit bb493be

Please sign in to comment.