- <!-- simple template that displays a message -->
- <template name="chat_message">
- <div class="row">
- <div class="col-xs-1 thumbnail"><img src="/{{ other.profile.avatar }}" alt="Avatar of user {{ other.profile.username }}" /></div>
- <div class="col-md-1">{{ other.profile.username }}</div>
- <div class="col-md-10">{{ text.text }}</div>
- </div>
- </template>
|