bornhack-website/src/profiles/templates/profile_detail.html

64 lines
2 KiB
HTML

{% extends 'profile_base.html' %}
{% block profile_content %}
{% if not profile.description %}
<div class="alert alert-danger">
<h4><strong>Attention!</strong></h4>
<p>
You have not written anything in your "description".
</p>
<p>
If you intend to join one or more teams you can use the profile to help the team responsible understand who you are and what you have to offer. Please also include availability if you are not joining us for the entire week.
</p>
</div>
{% endif %}
<div class="panel panel-default">
<div class="panel-heading">
<a href="{% url 'profiles:update' %}" class="btn btn-primary pull-right clearfix"><i class="fas fa-edit"></i> Edit Profile</a>
<h4>Your information</h4>
</div>
<div class="panel-body">
<table class="table table-striped">
<tr>
<td width="30%">
<b>Name</b><br />
<small>Not visible to the public.</small></td>
<td width="70%">
{{ profile.name|default:"N/A" }}
</td>
</tr>
<tr>
<td>
<b>Description</b><br />
<small>Not visible to the public.</small>
</td>
<td>{{ profile.description|default:"N/A" }}</td>
</tr>
<tr>
<td>
<b>Public Credit Name</b><br />
<small>Visible to the public, leave empty if you want no credits on this website.</small>
</td>
<td>
{{ profile.public_credit_name|default:"N/A" }} {% if profile.public_credit_name %}({% if profile.public_credit_name_approved %}<span class="text-success">approved</span>{% else %}<span class="text-danger">pending approval</span>{% endif %}){% endif %}</td>
</tr>
<tr>
<td>
<b>NickServ username</b><br />
<small>Visible to the public on IRC, used to handle team channel ACLs.</small>
</td>
<td>
{{ profile.nickserv_username|default:"N/A" }}
</td>
</tr>
</table>
</div>
</div>
{% endblock profile_content %}