<% if transaction.transaction_type == 'request' %>
<% request_text = ['cried out for help', 'sent an SOS', 'made a request', 'shouted for aid', 'sent out a smoke signal', 'pinged neighbors', 'lit the beacons'] %>
<div class='row'>
<div class='small-12 small-centered text-center column'>
<%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %> <%= request_text.sample %> <%= time_ago_in_words(transaction.created_at) %> ago.
</div>
</div>
<% elsif transaction.transaction_type == 'response' %>
<div class='row'>
<div class='small-12 small-centered text-center column'>
<%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> responded to <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
</div>
</div>
<% elsif transaction.transaction_type == 'fulfillment' %>
<div class='row'>
<div class='small-12 small-centered text-center column'>
<%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> fulfilled <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
<% else %>
<% end %>
</div>
</div>
Add users_transaction partial to differentiate between homepage river and user profile river
Add users_transaction partial to differentiate between homepage river and user profile river
