{% for activity in recent_activities %}
{% if activity.rating %} Rated {{ activity.rating }}/5 {% else %} Reviewed {% endif %} {% if activity.content_object %} {{ activity.content_object.name }} {% if activity.content_object.park and activity.content_object.park != activity.content_object %} at {{ activity.content_object.park.name }} {% endif %} {% endif %}
{% if activity.comment %}"{{ activity.comment|truncatewords:20 }}"{% endif %} {% elif activity.type == 'photo' %}
Added a new photo to {% if activity.content_object %} {{ activity.content_object.name }} {% endif %}
{% elif activity.type == 'park_update' %}{% if activity.content_object %} {{ activity.content_object.name }} {% endif %} {{ activity.description|default:"was updated" }}
{% elif activity.type == 'ride_update' %}{% if activity.content_object %} {{ activity.content_object.name }} {% if activity.content_object.park %} at {{ activity.content_object.park.name }} {% endif %} {% endif %} {{ activity.description|default:"was updated" }}
{% else %}{{ activity.description }}
{% endif %}Be the first to add a review or photo!