Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/05/2018 06:48:40 AM (8 years ago)
Author:
imath
Message:

BP Nouveau: use a JS Template for the Group Invites UI feedbacks

Using a JS template avoids to transport common HTML tags inside the Ajax replies.

See #7794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

    r12059 r12060  
    2525
    2626</div>
     27
     28<script type="text/html" id="tmpl-bp-group-invites-feedback">
     29        <div class="bp-feedback {{data.type}}">
     30                <span class="bp-icon" aria-hidden="true"></span>
     31                <p>{{{data.message}}}</p>
     32        </div>
     33</script>
    2734
    2835<script type="text/html" id="tmpl-bp-invites-nav">
Note: See TracChangeset for help on using the changeset viewer.