madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r11998: LJSUP-12150: New Repost feature (S2)

Committer: sbelyaev
LJSUP-12150: New Repost feature (S2)
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2012-05-23 14:04:07 UTC (rev 11997)
+++ trunk/bin/upgrading/en_LJ.dat	2012-05-23 14:55:15 UTC (rev 11998)
@@ -2048,6 +2048,8 @@
 
 entry.reference.subject=post reposted
 
+entry.reference.reposter=reposted by [[reposter]]
+
 entry.reference.journal.owner<<
 Original [[author]] post reposted at [[datetime]]
 

Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2012-05-23 14:04:07 UTC (rev 11997)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2012-05-23 14:55:15 UTC (rev 11998)
@@ -406,7 +406,8 @@
                             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>
+                            <dd class="entry-date"><abbr class="updated" title="$isodate">$entrydate</abbr></dd>""";
+                        if ($e.reposted_by) { print $e.reposted_by; } """
                         </dl>
 """;
                     }

Tags: dat, ljcom, madeon, s2, sbelyaev
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