When presenting data, it is important to be able to include logic to allow different markup to be created depending on the data given to it.
Ext.XTemplate provides that functionality in an easy to use way, which we shall explore in this recipe.
We will show this functionality by adding an additional column to our bug table from our previous two recipes, to display the owner of the bug. If that owner is the same as the current user (which we will define as a member property) then we will display Me otherwise we will display the owner's name.
We will base this recipe heavily on the examples created in the previous two recipes. So make sure you have a look at them and remind yourself what we did!