1309b5da3Sbeccabroek<div class="table__row-value row column">
2309b5da3Sbeccabroek  <div class="certificate__type-cell bold">
3dbafdc5fSYoshie Muranaka    {{getCertificateName(cert.Description)}}
4309b5da3Sbeccabroek  </div>
5309b5da3Sbeccabroek  <div class="certificate__title-inline">
6c81cdd4aSZbigniew Kurzynski    Issued by:
7c81cdd4aSZbigniew Kurzynski  </div>
8c81cdd4aSZbigniew Kurzynski  <div class="certificate__issue-cell">
9c81cdd4aSZbigniew Kurzynski    {{cert.Issuer.CommonName}}
10c81cdd4aSZbigniew Kurzynski  </div>
11c81cdd4aSZbigniew Kurzynski  <div class="certificate__title-inline">
12c81cdd4aSZbigniew Kurzynski    Issued to:
13c81cdd4aSZbigniew Kurzynski  </div>
14c81cdd4aSZbigniew Kurzynski  <div class="certificate__issue-cell">
15c81cdd4aSZbigniew Kurzynski    {{cert.Subject.CommonName}}
16c81cdd4aSZbigniew Kurzynski  </div>
17c81cdd4aSZbigniew Kurzynski  <div class="certificate__title-inline">
18309b5da3Sbeccabroek    Valid from:
19309b5da3Sbeccabroek  </div>
20309b5da3Sbeccabroek  <div class="certificate__date-cell">
21c81cdd4aSZbigniew Kurzynski    {{cert.ValidNotBefore | date:medium}}
22309b5da3Sbeccabroek  </div>
23309b5da3Sbeccabroek  <div class="certificate__title-inline">
24309b5da3Sbeccabroek    Valid until:
25309b5da3Sbeccabroek  </div>
26309b5da3Sbeccabroek  <div class="certificate__status-cell">
27*1a2bd74dSDixsie Wolmers    <icon file="icon-critical.svg"
28*1a2bd74dSDixsie Wolmers      aria-label="certificate has expired"
29*1a2bd74dSDixsie Wolmers      class="certificate__status-icon"
30*1a2bd74dSDixsie Wolmers      ng-if="cert.isExpired">
31*1a2bd74dSDixsie Wolmers    </icon>
32*1a2bd74dSDixsie Wolmers    <icon file="icon-warning.svg"
33*1a2bd74dSDixsie Wolmers      aria-label="certificate will expire soon"
34*1a2bd74dSDixsie Wolmers      class="certificate__status-icon"
35*1a2bd74dSDixsie Wolmers      ng-if="cert.isExpiring">
36*1a2bd74dSDixsie Wolmers    </icon>
37309b5da3Sbeccabroek  </div>
38309b5da3Sbeccabroek  <div class="certificate__date-cell">
39c81cdd4aSZbigniew Kurzynski    {{cert.ValidNotAfter | date:medium}}
40309b5da3Sbeccabroek  </div>
41309b5da3Sbeccabroek  <div class="certificate__buttons-cell">
42219738d2Smiramurali23    <button type="button" ng-click="cert.upload = true" aria-label="Replace certificate" class="btn  btn-tertiary certificate__button">
430c1e09e6SDixsie Wolmers      <icon file="icon-replace.svg" aria-hidden="true"></icon>
44309b5da3Sbeccabroek    </button>
45309b5da3Sbeccabroek  </div>
46309b5da3Sbeccabroek  <div ng-show="cert.upload === true" class="upload__certificate">
47309b5da3Sbeccabroek    <div class="certificate__upload-chooser row">
48309b5da3Sbeccabroek      <div class="small-1 column">
49219738d2Smiramurali23        <button type="button" ng-click="cert.upload=false" aria-label="close replace certificate upload form">
500c1e09e6SDixsie Wolmers          <icon file="icon-close.svg" aria-hidden="true"></icon>
51309b5da3Sbeccabroek        </button>
52309b5da3Sbeccabroek      </div>
53309b5da3Sbeccabroek      <div class="small-2 column">
54bb45d021SDixsie Wolmers        <label>
55219738d2Smiramurali23          <input id="upload_{{cert.Description + cert.Id}}" type="file" file="cert.file" class="input-file" />
56309b5da3Sbeccabroek          <span class="btn btn-secondary">Choose file</span>
57309b5da3Sbeccabroek        </label>
58309b5da3Sbeccabroek      </div>
59309b5da3Sbeccabroek      <div class="small-6 column">
60309b5da3Sbeccabroek        <span ng-if="!cert.file">No file selected</span>
61309b5da3Sbeccabroek        <span>{{cert.file.name}}</span>
62219738d2Smiramurali23        <button type="reset" ng-if="cert.file.name" ng-click="cert.file = '';" aria-label="remove selected file">
630c1e09e6SDixsie Wolmers          <icon file="icon-close.svg" aria-hidden="true"></icon>
64309b5da3Sbeccabroek        </button>
65309b5da3Sbeccabroek      </div>
66309b5da3Sbeccabroek      <div class="small-3 column">
67219738d2Smiramurali23        <button type="submit" ng-class="{disabled:!cert.file}" class="btn btn-primary" ng-click="replaceCertificate(cert)">
680c1e09e6SDixsie Wolmers          Replace
690c1e09e6SDixsie Wolmers        </button>
70309b5da3Sbeccabroek      </div>
71309b5da3Sbeccabroek    </div>
72309b5da3Sbeccabroek  </div>
73309b5da3Sbeccabroek</div>