Linked user changelog from profile.

This commit is contained in:
flash 2018-07-07 21:25:12 +02:00
parent f4d8005ab3
commit f2a5c3db01
2 changed files with 11 additions and 2 deletions

View file

@ -87,6 +87,15 @@
&__row {
display: flex;
&--link {
text-decoration: none;
color: inherit;
&:hover {
text-decoration: underline;
}
}
}
&__column {

View file

@ -135,14 +135,14 @@
{% if profile.changelog_count > 0 %}
<div class="profile__info__block">
<div class="profile__info__row">
<a class="profile__info__row profile__info__row--link" href="/changelog.php?u={{ profile.user_id }}">
<div class="profile__info__column profile__info__column--heading">
Changes
</div>
<div class="profile__info__column profile__info__column--numeric">
{{ profile.changelog_count|number_format }}
</div>
</div>
</a>
</div>
{% endif %}
</div>