mirror of
https://github.com/PretendoNetwork/juxtaposition-ui.git
synced 2026-08-26 19:26:06 -05:00
fix: update posts to use mii image url directly
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div id="post-<%= post.id %>" class="post <%if(reply) {%>reply<%}%> <%if(post.is_spoiler) {%>spoiler<%}%>">
|
||||
<a href="/users/show?pid=<%= post.pid %>" class="mii-icon-container" data-pjax="#body">
|
||||
<img src="<%= post.mii_face_url.replace('https:', 'http:') %>" class="mii-icon">
|
||||
<img src="<%= post.mii_face_url %>" class="mii-icon">
|
||||
</a>
|
||||
<div class="post-body-content">
|
||||
<div class="post-body <%if(userContent.likes && userContent.likes.indexOf(post.id) !== -1){ %> yeah <%}%>" id="<%= post.id %>">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<%} else {%>
|
||||
<a href="/users/show?pid=<%= post.pid %>" class="mii-icon-container" data-pjax="#body">
|
||||
<img src="<%= post.mii_face_url.replace('http:', 'https:') %>" class="mii-icon">
|
||||
<img src="<%= post.mii_face_url %>" class="mii-icon">
|
||||
</a>
|
||||
<div class="post-body-content <% if(post.removed) {%>removed<%}%>">
|
||||
<div class="post-body <%if(userContent.likes && userContent.likes.indexOf(post.id) !== -1){ %> yeah <%}%>" id="<%= post.id %>">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="post-user-info-wrapper" id="<%= post.id %>">
|
||||
<img class="user-icon <%if(post.verified) {%>verified<%}%>" src="<%= cdnURL %><%= post.mii_face_url.substring(post.mii_face_url.lastIndexOf('/mii')) %>" data-pjax="/users/show?pid=<%= post.pid %>">
|
||||
<img class="user-icon <%if(post.verified) {%>verified<%}%>" src="<%= post.mii_face_url %>" data-pjax="/users/show?pid=<%= post.pid %>">
|
||||
<div class="post-meta-wrapper">
|
||||
<h3><a href="/users/show?pid=<%= post.pid %>"><%= post.screen_name %></a></h3>
|
||||
<span class="verified-badge" style="<%if(!post.verified) {%>display: none;<%}%>">✓</span>
|
||||
|
||||
Reference in New Issue
Block a user