1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-11-02 16:37:19 -04:00

Make self avatar in post form a link to own profile

This commit is contained in:
Jason McBrayer 2019-04-06 19:57:19 -04:00
parent e76a644c27
commit f76600ffed
2 changed files with 6 additions and 3 deletions

View File

@ -29,7 +29,9 @@
<div class="field has-addons">
<div class="control level is-mobile">
<img class="image avatar is-48x48 level-item" src="{{ own_acct.avatar_static }}" alt="">
<a href="{% url "user" own_acct.acct %}" class="image avatar is-48x48 level-item">
<img src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
</a>
<input type="submit" class="button is-primary level-item"
name="toot" value="Toot">
<a href="{% url "emoji" %}" target="_blank" rel="noopener noreferrer"

View File

@ -124,8 +124,9 @@
<div class="field has-addons">
<div class="control level is-mobile">
<img class="image avatar is-48x48 level-item" src="{{ own_acct.avatar_static }}"
alt="">
<a href="{% url "user" own_acct.acct %}" class="image avatar is-48x48 level-item" >
<img src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
</a>
<input type="submit" class="button is-primary level-item"
name="toot" value="Toot">
<a href="{% url "emoji" %}" target="_blank" rel="noopener noreferrer"