can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r10668: LJSUP-9091: Sort by poster in friends pa...

Committer: dpetrov
LJSUP-9091: Sort by poster in friends page
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2011-06-20 09:35:55 UTC (rev 10667)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2011-06-21 02:30:56 UTC (rev 10668)
@@ -362,8 +362,10 @@
                     <dt class="entry-title">$_entry_title$corners1_3</dt>
                     <dd class="entry-text">
                         <dl class="vcard author">
-                            <dt>"""; if ($e.userpic) { $e.userpic->print(); } """</dt>
-                            <dd class="username">"""; if ($e.poster.username!=$e.journal.username and not ($p.journal.journal_type == "C" and $p.view == "recent" )){ print _user_print_journal($e.poster, "inside", $e.journal.name); " $*text_user_posts_in "; print _user_print($e.journal,"simple");} else { print _user_print($e.poster,"inside"); } """</dd>
+                            """;
+                            if ($e.userpic) { """<dt"""; if ($e.poster.username!=$e.journal.username and not ($p.journal.journal_type == "C" and $p.view == "recent" )){ print " data-journal=\"" + $e.journal->base_url() + "\""; }""">"""; $e.userpic->print(); """</dt>"""; } else { """<dt></dt>"""; }
+                            """
+                            <dd class="username">"""; if ($e.poster.username!=$e.journal.username and not ($p.journal.journal_type == "C" and $p.view == "recent" )){ print _user_print_journal($e.poster, "inside", $e.journal.username); " $*text_user_posts_in "; print _user_print($e.journal,"simple");} else { print _user_print($e.poster,"inside"); } """</dd>
                             <dd class="entry-date"><abbr class="updated" title="$isodate">$entrydate</abbr></dd>
                         </dl>
 """;

Tags: can3p, ljcom, s2
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