diff options
author | Vitaly Takmazov | 2018-11-20 15:16:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-20 15:16:23 +0300 |
commit | b0cfa955c77c4e36bd334324d0ccb2ff24ff549f (patch) | |
tree | c40954b3c453c7138514d1439fdcd6d969af0bec /src/main/resources/templates | |
parent | 152efe1f31e1e568272fc401a3a19f2c6f7c9c49 (diff) |
versioned avatars in www
Diffstat (limited to 'src/main/resources/templates')
6 files changed, 7 insertions, 7 deletions
diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index 00ca048c..b1d27ae5 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -4,7 +4,7 @@ <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span></a> </span> <div class="msg-avatar"><a href="/{{ msg.user.name }}/"> - <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a> + <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/></a> </div> <div class="msg-ts"> <a href="/{{ msg.user.name }}/{{ msg.mid }}"> diff --git a/src/main/resources/templates/views/partial/navigation.html b/src/main/resources/templates/views/partial/navigation.html index 03b6c56d..dce2b83e 100644 --- a/src/main/resources/templates/views/partial/navigation.html +++ b/src/main/resources/templates/views/partial/navigation.html @@ -3,7 +3,7 @@ {% if visitor.uid > 0 %} <div id="ctitle"> <a href="/{{ visitor.name }}"> - <img src="//i.juick.com/a/{{ visitor.uid }}.png" alt=""/>{{ visitor.name }} + <img src="{{ visitor.avatar }}" alt=""/>{{ visitor.name }} </a> </div> {% else %} diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html index 2b1963e3..0896bd4e 100644 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ b/src/main/resources/templates/views/partial/usercolumn.html @@ -1,7 +1,7 @@ {% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} <div id="ctitle"> <a href="/{{ user.name }}"> - <img src="//i.juick.com/a/{{ user.uid }}.png" alt=""/>{{ user.name }} + <img src="{{ user.avatar }}" alt=""/>{{ user.name }} </a> </div> <ul class="toolbar"> diff --git a/src/main/resources/templates/views/pm_inbox.html b/src/main/resources/templates/views/pm_inbox.html index e82e120e..4f97bc86 100644 --- a/src/main/resources/templates/views/pm_inbox.html +++ b/src/main/resources/templates/views/pm_inbox.html @@ -9,7 +9,7 @@ @<a href="/{{ msg.user.name }}/">{{ msg.user.name }}</a>: <div class="msg-avatar"> <a href="/{{ msg.user.name }}/"> - <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/> + <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/> </a> </div> <div class="msg-ts">{{ msg.timestamp | prettyTime }}</div> diff --git a/src/main/resources/templates/views/pm_sent.html b/src/main/resources/templates/views/pm_sent.html index dcda64d8..ace25301 100644 --- a/src/main/resources/templates/views/pm_sent.html +++ b/src/main/resources/templates/views/pm_sent.html @@ -16,7 +16,7 @@ @<a href="/{{ msg.user.name }}/">{{ msg.user.name }}</a>: <div class="msg-avatar"> <a href="/{{ msg.user.name }}/"> - <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/> + <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/> </a> </div> <div class="msg-ts">{{ msg.timestamp | prettyTime }}</div> diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index 478258cf..47dfd000 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -6,7 +6,7 @@ <div class="msg-cont"> <div class="msg-header"> <div class="msg-avatar"> - <a href="/{{ msg.user.name }}/"><img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a> + <a href="/{{ msg.user.name }}/"><img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/></a> </div> <span> <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span></a> @@ -125,7 +125,7 @@ <a class="a-username" href="/{{ msg.user.name }}/">{{ msg.user.name }}</a> <div class="msg-avatar"> <a class="a-username" href="/{{ msg.user.name }}/"> - <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/> + <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/> </a> </div> {% else %} |