File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 230
230
</ div >
231
231
< div class ="wtf session-title ">
232
232
{{listItem.session}}
233
+ < template is ="dom-if " if ="{{displayAuthors}} ">
233
234
< div secondary >
234
235
< span id ="authorsString " class ="session-chair "> {{authorsString}}</ span >
235
236
</ div >
237
+ </ template >
236
238
< template is ="dom-if " if ="{{isBookmarked}} ">
237
239
< iron-icon icon ="icons:bookmark " class ="bookmarked "> </ iron-icon >
238
240
</ template >
261
263
type : String ,
262
264
computed : 'computeAuthorsString(listItem)'
263
265
} ,
266
+ displayAuthors : {
267
+ type : String ,
268
+ computed : 'computeDisplayAuthors(listItem)'
269
+ } ,
264
270
encompassingSessionType : {
265
271
type : String ,
266
272
} ,
292
298
notify : true
293
299
}
294
300
} ,
301
+ computeDisplayAuthors : function ( listItem ) {
302
+ if ( listItem . type_code == "spotlight" ) {
303
+ return false ;
304
+ }
305
+ if ( listItem . type_code == "poster" ) {
306
+ return false ;
307
+ }
308
+ if ( listItem . type_code == "demonstration" ) {
309
+ return false ;
310
+ }
311
+ return true ;
312
+ } ,
295
313
computeIsOral : function ( ) {
296
314
return this . encompassingSessionType == "oral" ;
297
315
} ,
You can’t perform that action at this time.
0 commit comments