def get_action_text(action):
    """
    Get a text respresentation of the Action
    :param action: Model, Action model instance
    :returns: String, text description of an Activity Action
    """
    context = {
        'actor': action.actor,
        'verb': action.verb,
        'action': action.action,
        'target': action.target,
        'timestamp': action.time_ago
    }

    if action.target:
        return (
            '{actor} {verb} {action} to {target} {timestamp}'
        ).format(**context)

    if action.action:
        return ('{actor} {verb} {action} {timestamp}').format(**context)

    return '{actor} {verb} {timestamp}'.format(**context)