Skip to content

Commit

Permalink
Merge pull request #46 from yasmine-glitch/updates_pictures
Browse files Browse the repository at this point in the history
photos
  • Loading branch information
Cgognet authored Nov 25, 2021
2 parents 3b6bf89 + 5a3a46d commit 69e5b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/activities/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="hosting-infos">
<h3>Hosted by</h3>
<%= link_to user_path(@activity.owner_id) do %>
<%= image_tag "https://kitt.lewagon.com/placeholder/users/cveneziani", class: "avatar-show-large", alt: "avatar-show-large" %>
<%= cl_image_tag @activity.owner.photo.key, class: "avatar-show-large", alt: "avatar-show-large" %>
<% end %>
<div class="name"><%= @activity.owner.first_name %> <%= @activity.owner.last_name %></div>
<div class="owner">
Expand Down Expand Up @@ -56,7 +56,7 @@
<% @activity.users.first(6).each do |user| %>
<div class="card-participants-infos">
<%= link_to user_path(user) do %>
<%= image_tag "https://kitt.lewagon.com/placeholder/users/arthur-littm", class: "avatar-show", alt: "avatar-show" %>
<%= cl_image_tag user.photo.key, class: "avatar-show", alt: "avatar-show" %>
<% end %>
<h2><%= user.first_name %> <%= user.last_name %></h2>
<p><i class="fas fa-laptop-house"> </i><%= user.company %></p>
Expand Down

0 comments on commit 69e5b74

Please sign in to comment.