Skip to content
Extraits de code Groupes Projets
Valider 982f51b9 rédigé par danielvincent's avatar danielvincent
Parcourir les fichiers

prepend pod_url to image paths

parent 91bbd607
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -36,7 +36,7 @@
<dl class="entity_photo">
<dt>Photo</dt>
<dd>
<img class="photo avatar" src="<%= @person.profile.image_url%>" width="100" height="100"/>
<img class="photo avatar" src="<%=APP_CONFIG[:pod_url]%><%= @person.profile.image_url%>" width="100" height="100"/>
</dd>
</dl>
<dl class="entity_note">
......
......@@ -53,7 +53,7 @@ module Diaspora
<id>#{@user.public_url}</id>
<title>#{@user.real_name}</title>
<link rel="alternative" type="text/html" href="#{@user.public_url}"/>
<link rel="avatar" type="image/jpeg" media:width="100" media:height="100" href="#{@user.image_url}"/>
<link rel="avatar" type="image/jpeg" media:width="100" media:height="100" href="#{APP_CONFIG[:pod_url]}#{@user.profile.image_url}"/>
</activity:subject>
XML
end
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter