{% set auto_tweeting_status = view_user.get_social_sharing_status('twitter') %} {% set handle = view_user.twitter_handle|escape %} {% if auto_tweeting_status == 'enabled' %} {% trans %}Auto-tweeting to @{{ handle }}{% endtrans %} {% elif auto_tweeting_status == 'inactive' %} {% trans %}Auto-tweeting is inactive{% endtrans %} {% else %} {% trans %}Auto-tweeting is off{% endtrans %} {% endif %}