diff options
author | Andrew Godwin | 2022-11-17 08:21:42 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-17 12:21:44 -0700 |
commit | f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d (patch) | |
tree | d01453e94f371956e7e989351b51e6ed6eb42541 /templates/identity | |
parent | 7f8e792402b66dbb4a721be4f44306d528931b86 (diff) | |
download | takahe-f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d.tar.gz takahe-f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d.tar.bz2 takahe-f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d.zip |
Add image/icon upload
Diffstat (limited to 'templates/identity')
-rw-r--r-- | templates/identity/view.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html index e4118c9..c830fc5 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -9,11 +9,10 @@ </nav> <h1 class="identity"> - {% if identity.icon_uri %} - <img src="{{identity.icon_uri}}" class="icon"> - {% else %} - <img src="{% static "img/unknown-icon-128.png" %}" class="icon"> + {% if identity.local_image_url %} + <img src="{{ identity.local_image_url }}" class="banner"> {% endif %} + <img src="{{ identity.local_icon_url }}" class="icon"> {% if request.identity %} <form action="{{ identity.urls.action }}" method="POST" class="inline follow"> |