hagrid-keyserver--hagrid/dist/templates/upload/upload-ok.html.hbs

85 lines
3.3 KiB
Handlebars
Raw Normal View History

2019-02-22 13:14:29 +00:00
{{#> layout }}
2019-09-27 14:21:10 +00:00
{{#with page}}
2019-05-03 13:34:34 +00:00
<p>
2019-09-27 14:21:10 +00:00
{{ text "You uploaded the key <span class=\"fingerprint\"><a href=\"{{ key_link }}\" target=\"_blank\">{{ key_fpr }}</a></span>." rerender }}
2019-04-26 21:13:56 +00:00
</p>
2019-05-03 13:34:34 +00:00
{{#if is_revoked}}
<p>
2019-09-27 14:21:10 +00:00
<strong>{{ text "This key is revoked." }}</strong>
2019-11-02 22:55:37 +00:00
</p>
<p>
2019-10-31 13:02:41 +00:00
{{ text "It is published without identity information and can't be made available for search by email address. (<a href=\"/about\" target=\"_blank\">What does this mean?</a>)" }}
2019-05-03 13:34:34 +00:00
</p>
{{else}}
2019-06-05 11:21:37 +00:00
{{#if email_published}}
<p style="padding-top: 1em;">
2019-09-27 14:21:10 +00:00
{{ text "This key is now published with the following identity information (<a href=\"/about\" target=\"_blank\">what does this mean?</a>):" }}
2019-06-05 11:21:37 +00:00
</p>
{{#each email_published}}
<div class="publishedUid">
2019-09-27 14:21:10 +00:00
<div>{{ text "Published" }}</div>
2019-06-05 11:21:37 +00:00
<p><span class="email">{{this}}</span></p>
</div>
{{/each}}
{{else}}
<p style="padding-top: 1em;">
2019-10-31 13:02:41 +00:00
{{ text "This key is now published with only non-identity information. (<a href=\"/about\" target=\"_blank\">What does this mean?</a>)" }}
2019-05-03 13:34:34 +00:00
</p>
2019-06-05 11:21:37 +00:00
{{/if}}
2019-05-03 13:34:34 +00:00
2019-06-05 11:21:37 +00:00
{{#if email_unpublished}}
<p style="padding-top: 1em;">
2019-10-31 13:02:41 +00:00
{{ text "To make the key available for search by email address, you can verify it belongs to you:" }}
2019-06-05 11:21:37 +00:00
</p>
{{#each email_unpublished}}
2019-05-03 13:34:34 +00:00
<div class="publishedUid">
<div>
2019-06-05 11:21:37 +00:00
{{#if requested}}
2019-09-27 14:21:10 +00:00
{{ text "Verification Pending" }}
2019-05-03 13:34:34 +00:00
{{else}}
2019-06-05 11:21:37 +00:00
<form action="/upload/request-verify" method="post">
<input type="hidden" name="token" value="{{../token}}" />
<input type="hidden" name="address" value="{{address}}" />
2019-10-31 13:02:41 +00:00
<input type="submit" class="link" value="{{ text "Send Verification Email" }}">
2019-06-05 11:21:37 +00:00
</form>
2019-05-03 13:34:34 +00:00
{{/if}}
</div>
2019-09-27 14:21:10 +00:00
<p><span class="email">{{ address }}</span></p>
2019-05-03 13:34:34 +00:00
</div>
2019-04-26 21:13:56 +00:00
{{/each}}
<p>
2019-10-31 13:02:41 +00:00
{{ text "<strong>Note:</strong> Some providers delay emails for up to 15 minutes to prevent spam. Please be patient." }}
</p>
2019-05-03 13:34:34 +00:00
{{/if}}
2019-06-05 11:21:37 +00:00
{{#if count_unparsed}}
{{#if count_unparsed_one}}
<p style="padding-top: 1em;">
2019-10-31 13:02:41 +00:00
{{ text "This key contains one identity that could not be parsed as an email address.<br /> This identity can't be published on <span class=\"brand\">keys.openpgp.org</span>. (<a href=\"/about/faq#non-email-uids\" target=\"_blank\">Why?</a>)" }}
</p>
{{else}}
<p style="padding-top: 1em;">
2019-10-31 13:02:41 +00:00
{{ text "This key contains {{ count_unparsed }} identities that could not be parsed as an email address.<br /> These identities can't be published on <span class=\"brand\">keys.openpgp.org</span>. (<a href=\"/about/faq#non-email-uids\" target=\"_blank\">Why?</a>)" rerender }}
</p>
{{/if}}
{{/if}}
2019-06-05 11:21:37 +00:00
{{#if count_revoked}}
{{#if count_revoked_one}}
<p style="padding-top: 1em;">
{{ text "This key contains one revoked identity, which is not published. (<a href=\"/about/faq#revoked-uids\" target=\"_blank\">Why?</a>)" rerender }}
2019-06-05 11:21:37 +00:00
</p>
{{else}}
<p style="padding-top: 1em;">
{{ text "This key contains {{ count_revoked }} revoked identities, which are not published. (<a href=\"/about/faq#revoked-uids\" target=\"_blank\">Why?</a>)" rerender }}
2019-06-05 11:21:37 +00:00
</p>
{{/if}}
{{/if}}
2019-05-03 13:34:34 +00:00
{{/if}}
2019-09-27 14:21:10 +00:00
{{/with}}
2019-02-22 13:14:29 +00:00
{{/layout}}