Verified Commit 3ce223d7 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Add phone and email links to events registrations overview

parent 0c84ce79
......@@ -6,6 +6,25 @@
overflow-y: auto;
}
.dashboard .module table td a {
display: inline-block;
vertical-align: middle;
&.member-phone, &.member-email {
width: 16px;
height: 16px;
}
&.member-phone {
background: url('../images/phone-square.svg') no-repeat;
padding-right: 2px;
}
&.member-email {
background: url('../images/envelope-square.svg') no-repeat;
}
}
th.sortable {
&:hover {
background-color: #eee;
......
<svg xmlns="http://www.w3.org/2000/svg" fill="#447e9b" viewBox="0 0 448 512"><path d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM178.117 262.104C87.429 196.287 88.353 196.121 64 177.167V152c0-13.255 10.745-24 24-24h272c13.255 0 24 10.745 24 24v25.167c-24.371 18.969-23.434 19.124-114.117 84.938-10.5 7.655-31.392 26.12-45.883 25.894-14.503.218-35.367-18.227-45.883-25.895zM384 217.775V360c0 13.255-10.745 24-24 24H88c-13.255 0-24-10.745-24-24V217.775c13.958 10.794 33.329 25.236 95.303 70.214 14.162 10.341 37.975 32.145 64.694 32.01 26.887.134 51.037-22.041 64.72-32.025 61.958-44.965 81.325-59.406 95.283-70.199z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="#447e9b" viewBox="0 0 448 512"><path d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM94 416c-7.033 0-13.057-4.873-14.616-11.627l-14.998-65a15 15 0 0 1 8.707-17.16l69.998-29.999a15 15 0 0 1 17.518 4.289l30.997 37.885c48.944-22.963 88.297-62.858 110.781-110.78l-37.886-30.997a15.001 15.001 0 0 1-4.289-17.518l30-69.998a15 15 0 0 1 17.16-8.707l65 14.998A14.997 14.997 0 0 1 384 126c0 160.292-129.945 290-290 290z"/></svg>
......@@ -29,7 +29,11 @@
{% for registration in registrations %}
<tr class="{% if forloop.first %}row1 {% endif %}">
{% if registration.member %}
<td><a href="{{ registration.member.get_absolute_url }}">{{ registration.member.get_full_name }}</a></td>
<td>
<a href="{{ registration.member.get_absolute_url }}">{{ registration.member.get_full_name }}</a>
<a href="tel:{{ registration.member.profile.phone_number }}" title="{{ registration.member.profile.phone_number }}" class="member-phone"></a>
<a href="mailto:{{ registration.member.email }}" title="{{ registration.member.email }}" class="member-email"></a>
</td>
{% else %}
<td>{{ registration.name }}</td>
{% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment