Changeset 12141 for trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
- Timestamp:
- 05/28/2018 05:34:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
r12133 r12141 176 176 <# if ( undefined !== data.content ) { #> 177 177 178 <h2 class="message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title"> <# print( data.subject ); #></span></h2>178 <h2 class="message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title">{{{data.subject}}}</span></h2> 179 179 <div class="preview-content"> 180 180 <header class="preview-pane-header"> … … 216 216 <span class="bp-screen-reader-text"><?php esc_html_e( 'View full conversation and reply.', 'buddypress' ); ?></span> 217 217 </a> 218 219 <# if ( data.threadOptions ) { #> 220 <span class="bp-messages-hook thread-options"> 221 {{{data.threadOptions}}} 222 </span> 223 <# } #> 218 224 </div> 219 225 </header> 220 226 221 227 <div class='preview-message'> 222 <# print( data.content ) #>228 {{{data.content}}} 223 229 </div> 230 231 <# if ( data.inboxListItem ) { #> 232 <table class="bp-messages-hook inbox-list-item"> 233 <tbody> 234 <tr>{{{data.inboxListItem}}}</tr> 235 </tbody> 236 </table> 237 <# } #> 224 238 </div> 225 239 <# } #> … … 227 241 228 242 <script type="text/html" id="tmpl-bp-messages-single-header"> 229 <h2 id="message-subject" class="message-title single-thread-title"> <# print( data.subject ); #></h2>243 <h2 id="message-subject" class="message-title single-thread-title">{{{data.subject}}}</h2> 230 244 <header class="single-message-thread-header"> 231 245 <# if ( undefined !== data.recipients ) { #> … … 243 257 244 258 <div class="actions"> 245 246 259 <button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>"> 247 260 <span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', 'buddypress' ); ?></span> 248 261 </button> 249 250 <?php bp_nouveau_messages_hook( 'after', 'thread_header_actions' ); ?>251 262 </div> 252 263 </header> … … 255 266 <script type="text/html" id="tmpl-bp-messages-single-list"> 256 267 <div class="message-metadata"> 257 <?php bp_nouveau_messages_hook( 'before', 'meta' ); ?> 268 <# if ( data.beforeMeta ) { #> 269 <div class="bp-messages-hook before-message-meta">{{{data.beforeMeta}}}</div> 270 <# } #> 258 271 259 272 <a href="{{data.sender_link}}" class="user-link"> … … 278 291 </div> 279 292 280 <?php bp_nouveau_messages_hook( 'after', 'meta' ); ?> 281 293 <# if ( data.afterMeta ) { #> 294 <div class="bp-messages-hook after-message-meta">{{{data.afterMeta}}}</div> 295 <# } #> 282 296 </div> 283 297 … … 311 325 <div class="message-metadata"> 312 326 313 <?php bp_nouveau_messages_hook( 'before', ' meta' ); ?>327 <?php bp_nouveau_messages_hook( 'before', 'reply_meta' ); ?> 314 328 315 329 <div class="avatar-box"> … … 319 333 </div> 320 334 321 <?php bp_nouveau_messages_hook( 'after', ' meta' ); ?>335 <?php bp_nouveau_messages_hook( 'after', 'reply_meta' ); ?> 322 336 323 337 </div><!-- .message-metadata -->
Note: See TracChangeset
for help on using the changeset viewer.