Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1f74eeeb

Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)

Re #8706 - Added issuer link

Zobrazit rozdíly:

static/certificate.html
144 144
                        </tr>
145 145
                        <div id="issuerCollapse">
146 146
                            <tr v-if="displayIssuer">
147
                                <td colspan="2"><h5 class="mt-2">Issuer</h5></td>
147
                                <td colspan="2"><h5 class="mt-2"><a :href="issuerURL">Issuer</a></h5></td>
148 148
                            </tr>
149 149
                            <tr v-if="displayIssuer" >
150 150
                                <div class="form-group">
......
254 254
                                    <td><a class="certificate-control font-weight-bold" :href="ocspEndpoint">OCSP</a></td>
255 255
                                    <td> </td>
256 256
                                </tr>
257
                                <tr class="d-flex" v-if="id != certificate.CA">
258
                                    <td style="width: 30%" class="font-weight-bold">Issuer:</td>
259
                                    <td><a class="certificate-control font-weight-bold" :href="issuerURL">show details</a></td>
260
                                    <td> </td>
261
                                    <td> </td>
262
                                </tr>
263 257
                            </tbody>
264 258
                        </table>
265 259
                    </div>
static/js/certificate.js
77 77
    watch: {},
78 78
    methods: {
79 79
        onShowIssuer: async function() {
80
            this.displayIssuer = ~this.displayIssuer;
81 80
            if (!this.issuerLoaded) {
82 81
                // query certificate details
83 82
                try {
......
96 95
                    this.showError("Error occurred while loading issuer's details.");
97 96
                }
98 97
            }
98
            this.displayIssuer = ~this.displayIssuer;
99 99
        },
100 100
        onCertificateDownload: async function () {
101 101
            await onCertificateDownload(this.id);

Také k dispozici: Unified diff