Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

msgCard.js 653B

1234567891011121314151617
  1. Vue.component('MsgCard', {
  2. template: `<div class="om-card card">
  3. <h6 class="msg-head">
  4. <b>{{ msg.subject }}</b>
  5. <img src="favicon.ico" width=20px height=20px>
  6. </h6>
  7. {{ msg.message }}<br><br>
  8. <div v-for="tag in msg.tag">
  9. <a href="#">{{ tag }}</a>
  10. </div></p>
  11. <div class="om-card-footer"> <div class="om-user-line">
  12. <i class="material-icons">account_circle</i>
  13. Erstellt von {{ msg.user }}</div>
  14. <i class="material-icons">bookmark_border</i>
  15. </div></div>`,
  16. props: ['msg']
  17. });