madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19773: Added delayed entry icon

Committer: sbelyaev
Added delayed entry icon
U   branches/delayed_entries/bin/upgrading/s2layers/core1.s2
Modified: branches/delayed_entries/bin/upgrading/s2layers/core1.s2
===================================================================
--- branches/delayed_entries/bin/upgrading/s2layers/core1.s2	2011-08-18 10:18:24 UTC (rev 19772)
+++ branches/delayed_entries/bin/upgrading/s2layers/core1.s2	2011-08-18 12:38:12 UTC (rev 19773)
@@ -351,6 +351,7 @@
     var readonly string security "The security level of the entry ('private', 'protected'), or blank if public.";
     var Image security_icon "A little icon which should be displayed somewhere on an entry to represent the security setting";
     var Image sticky_icon "A little icon which should be displyaed somewhere on an entry to represent the sticky setting";
+    var Image delayed_icon "A little icon which should be displyaed somewhere on an entry to represent the delayed entry";
 
     var Image mood_icon "Mood icon, or null.";
     var CommentInfo comments "Comment information on this entry";
@@ -2522,7 +2523,7 @@
 function Page::print_entry(Entry e) {
     ## For most styles, this will be overridden by FriendsPage::print_entry and such.
     """<div class="entry" id="$e.dom_id">\n""";
-    "<h3>$e.sticky_icon $e.security_icon $e.subject</h3>\n";
+    "<h3>#e.delayed_icon $e.sticky_icon $e.security_icon $e.subject</h3>\n";
     if ($.view == "friends" or $e.poster.username != $e.journal.username) {
         "<div>"; $this->print_entry_poster($e); "</div>";
     }

Tags: livejournal, madeon, 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