Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/09/2013 04:34:08 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Clean up notifications template parts to better utilize notifications-loop.php. See #5148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php

    r7526 r7538  
    1 <div class="notification-pagination">
    2     <?php bp_notifications_pagination_links() ?>
    3 </div>
     1<table class="notifications">
     2    <thead>
     3        <tr>
     4            <th class="icon"></th>
     5            <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th>
     6            <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th>
     7            <th class="actions"><?php _e( 'Actions',    'buddypress' ); ?></th>
     8        </tr>
     9    </thead>
    410
    5 <?php while ( bp_the_notifications() ) : bp_the_notification(); ?>
     11    <tbody>
    612
    7     <tr>
    8         <td></td>
    9         <td><?php bp_the_notification_description(); ?></td>
    10         <td><?php bp_the_notification_time_since(); ?></td>
    11         <td><?php bp_the_notification_action_links(); ?></td>
    12     </tr>
     13        <?php while ( bp_the_notifications() ) : bp_the_notification(); ?>
    1314
    14 <?php endwhile;
     15            <tr>
     16                <td></td>
     17                <td><?php bp_the_notification_description();  ?></td>
     18                <td><?php bp_the_notification_time_since();   ?></td>
     19                <td><?php bp_the_notification_action_links(); ?></td>
     20            </tr>
     21
     22        <?php endwhile; ?>
     23
     24    <tbody>
     25</table>
Note: See TracChangeset for help on using the changeset viewer.