Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2011 08:33:01 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Improve output of being alone in a private conversation. See r4777.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/messages/single.php

    r4777 r4779  
    99        <p id="message-recipients">
    1010            <span class="highlight">
    11                 <?php printf( __( 'Conversation between %s and you', 'buddypress' ), bp_get_the_thread_recipients() ) ?>
     11
     12                <?php if ( !bp_get_the_thread_recipients() ) : ?>
     13
     14                    <?php _e( 'You are alone in this conversation.', 'buddypress' ); ?>
     15
     16                <?php else : ?>
     17
     18                    <?php printf( __( 'Conversation between %s and you.', 'buddypress' ), bp_get_the_thread_recipients() ) ?>
     19
     20                <?php endif; ?>
     21
    1222            </span>
     23
    1324            <a class="button confirm" href="<?php bp_the_thread_delete_link() ?>" title="<?php _e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ) ?></a> &nbsp;
    1425        </p>
Note: See TracChangeset for help on using the changeset viewer.