A Rust application to showcase badge awards in the AT Protocol ecosystem.
at main 37 lines 1.1 kB view raw
1{% extends "base.html" %} 2{% block title %}{{ title }} - Showcase{% endblock %} 3{% block content %} 4 5 6<section> 7 <hgroup> 8 <h1>@{{ subject }}</h1> 9 <p>Badge awards for this identity ({{ awards | length }})</p> 10 </hgroup> 11 {% if awards %} 12 {% for award in awards %} 13 <article> 14 {% if award.badge_image %} 15 <figure> 16 <img src="/badge/{{ award.badge_image }}" height="64" width="64" alt="{{ award.badge_name }}" /> 17 </figure> 18 {% endif %} 19 <p> 20 "<strong>{{ award.badge_name }}</strong>" 21 awarded at {{ award.created_at }} 22 <br /> 23 Signed by: 24 {% for signer in award.signers %} 25 {% if loop.index > 1 %}, {% endif %}<a href="https://bsky.app/profile/{{ signer }}">@{{ signer }}</a> 26 {% endfor %} 27 </p> 28 </article> 29 {% endfor %} 30 {% else %} 31 <p><strong><em>This identity hasn't received any badge awards yet.</em></strong></p> 32 {% endif %} 33</section> 34<section> 35 <a href="/" role="button" >Back to all awards</a> 36</section> 37{% endblock %}