Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r17811: LJSUP-7450: first image inserted into re...

Committer: mchervonniy
LJSUP-7450: first image inserted into recent post
U   trunk/templates/Browse/recent_posts.tmpl
Modified: trunk/templates/Browse/recent_posts.tmpl
===================================================================
--- trunk/templates/Browse/recent_posts.tmpl	2010-11-29 07:47:35 UTC (rev 17810)
+++ trunk/templates/Browse/recent_posts.tmpl	2010-11-29 08:04:38 UTC (rev 17811)
@@ -21,7 +21,7 @@
 			<tmpl_if location><dd class="b-catalogue-item-location">Location: <tmpl_var location></dd></tmpl_if>
 		</dl>
 		<div class="b-catalogue-item-desc">
-            <img src="<tmpl_var photo_for_post>">
+			<tmpl_if photo_for_post><img src="<tmpl_var photo_for_post>" alt="<tmpl_var subject>"></tmpl_if>
 			<tmpl_var post_text>
 			<tmpl_if is_need_more>(<a href="<tmpl_var url_to_post>">Read more in original post</a>)</tmpl_if>
 		</div>

Tags: fiskus_boulder, livejournal, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments