<!--
  ~ Copyright (C) 2018 Robert Bosch GmbH Copyright (C) 2018 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
  -->

<bci-modal-component [title]="imprintIntl.title">
  <a class="header-logo">
    <img src="./assets/img/bosch-invented-for-life.png" alt="{{imprintIntl.boschLogoAlt}}">
  </a>

  <table class="name-and-version-container">
    <tbody>
    <tr>
      <td>{{imprintIntl.name}}</td>
      <td>{{ data?.name }}</td>
    </tr>
    <tr>
      <td>{{imprintIntl.version}}</td>
      <td>{{ data?.version || '0.0.0' }}</td>
    </tr>
    </tbody>
  </table>

  <table>
    <tbody>
    <tr>
      <td>{{imprintIntl.nameAndAddress}}</td>
      <td>
        <p>{{data?.address?.name || 'Robert Bosch Manufacturing Solutions GmbH' }}</p>
        <p>{{data?.address?.street || 'Postfach 30 02 20' }}</p>
        <p>{{data?.address?.city || '70442 Stuttgart' }}</p>
        <p>{{data?.address?.country || 'GERMANY' }}</p>
      </td>
    </tr>
    <tr>
      <td>{{imprintIntl.contact}}</td>
      <td>
        <p *ngIf="data?.contactAtBosch">{{data.contactAtBosch}}</p>
        <p>
          <a href="mailto:{{data?.contactMail || 'kontakt@bosch.com'}}">{{data?.contactMail || 'kontakt@bosch.com'}}</a>
        </p>
      </td>
    </tr>
    <tr>
      <td>{{imprintIntl.board}}</td>
      <td>{{ data?.boardOfManagement || 'Günter Krenz, Dierk Göckel, Sven Hamann'}}</td>
    </tr>
    </tbody>
  </table>
</bci-modal-component>
