view client/src/components/importoverview/LogEntry.vue @ 2579:5295a182b4a4

overview2 WIP
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 11 Mar 2019 15:53:31 +0100
parents
children 5472a5be09c2
line wrap: on
line source

<template>
  <div class="d-flex flex-row">
    <font-awesome-icon
      class="mr-1 text-info"
      icon="angle-right"
      fixed-width
    ></font-awesome-icon
    >Ich bin ein Eintrag!
    <span
      ><font-awesome-icon
        v-if="entry.warnings"
        class="ml-1 text-warning"
        icon="exclamation-triangle"
        fixed-width
      ></font-awesome-icon
    ></span>
    <div v-if="reviewable">Review ME!</div>
  </div>
</template>

<script>
export default {
  name: "importlogentry",
  props: ["entry"],
  computed: {
    reviewable() {
      return this.entry.state === "pending";
    }
  }
};
</script>

<style></style>