def profile_recent_activity(user): return recent_activity.recent_activity_context(user)
def profile_recent_activity(user_data, view="standard"): context = recent_activity.recent_activity_context(user_data) context["view"] = view return shared_jinja.get().render_template("profiles/recent_activity.html", **context)