Change separators for links in inbox notifs from spaces to "|", for 
consistency with PMs and new comment notifs.

        Patch by hotlevel4. 

diffs (65 lines):

diff -r 8428f0b6ae2d -r 4b28bac2991f cgi-bin/LJ/Event/CommunityInvite.pm
--- a/cgi-bin/LJ/Event/CommunityInvite.pm       Tue Feb 16 15:26:10 2010 +0000
+++ b/cgi-bin/LJ/Event/CommunityInvite.pm       Tue Feb 16 16:05:18 2010 +0000
@@ -119,7 +119,7 @@ sub as_html_actions {
     my ($self) = @_;
 
     my $ret .= "<div class='actions'>";
-    $ret .= " <a href='" . $self->comm->profile_url . "'>View Profile</a>";
+    $ret .= " <a href='" . $self->comm->profile_url . "'>View Profile</a> |";
     $ret .= " <a href='$LJ::SITEROOT/manage/invites'>Join Community</a>";
     $ret .= "</div>";
 
diff -r 8428f0b6ae2d -r 4b28bac2991f cgi-bin/LJ/Event/CommunityJoinRequest.pm
--- a/cgi-bin/LJ/Event/CommunityJoinRequest.pm  Tue Feb 16 15:26:10 2010 +0000
+++ b/cgi-bin/LJ/Event/CommunityJoinRequest.pm  Tue Feb 16 16:05:18 2010 +0000
@@ -63,7 +63,7 @@ sub as_html_actions {
     my ($self) = @_;
 
     my $ret .= "<div class='actions'>";
-    $ret .= " <a href='" . $self->requestor->profile_url . "'>View 
Profile</a>";
+    $ret .= " <a href='" . $self->requestor->profile_url . "'>View Profile</a> 
|";
     $ret .= " <a href='$LJ::SITEROOT/community/pending?authas=" . 
$self->comm->user . "'>Manage Members</a>";
     $ret .= "</div>";
 
diff -r 8428f0b6ae2d -r 4b28bac2991f cgi-bin/LJ/Event/JournalNewEntry.pm
--- a/cgi-bin/LJ/Event/JournalNewEntry.pm       Tue Feb 16 15:26:10 2010 +0000
+++ b/cgi-bin/LJ/Event/JournalNewEntry.pm       Tue Feb 16 16:05:18 2010 +0000
@@ -146,7 +146,7 @@ sub as_html_actions {
     my $reply_url = $entry->url(mode => 'reply');
 
     my $ret .= "<div class='actions'>";
-    $ret .= " <a href='$reply_url'>Reply</a>";
+    $ret .= " <a href='$reply_url'>Reply</a> |";
     $ret .= " <a href='$url'>Link</a>";
     $ret .= "</div>";
 
diff -r 8428f0b6ae2d -r 4b28bac2991f cgi-bin/LJ/Event/PollVote.pm
--- a/cgi-bin/LJ/Event/PollVote.pm      Tue Feb 16 15:26:10 2010 +0000
+++ b/cgi-bin/LJ/Event/PollVote.pm      Tue Feb 16 16:05:18 2010 +0000
@@ -91,7 +91,7 @@ sub as_html_actions {
     my $entry_url = $self->entry->url;
     my $poll_url = $self->poll->url;
     my $ret = "<div class='actions'>";
-    $ret .= " <a href='$poll_url'>View poll status</a>";
+    $ret .= " <a href='$poll_url'>View poll status</a> |";
     $ret .= " <a href='$entry_url'>Discuss results</a>";
     $ret .= "</div>";
 
diff -r 8428f0b6ae2d -r 4b28bac2991f cgi-bin/LJ/Event/RemovedFromCircle.pm
--- a/cgi-bin/LJ/Event/RemovedFromCircle.pm     Tue Feb 16 15:26:10 2010 +0000
+++ b/cgi-bin/LJ/Event/RemovedFromCircle.pm     Tue Feb 16 16:05:18 2010 +0000
@@ -149,11 +149,11 @@ sub as_html_actions {
 
     my $ret .= "<div class='actions'>";
     if ( $self->trusted ) {
-        $ret .= "<a href='$LJ::SITEROOT/manage/circle/add?user=" . 
$fromuser->user . "'>Remove Access</a>"
+        $ret .= "<a href='$LJ::SITEROOT/manage/circle/add?user=" . 
$fromuser->user . "'>Remove Access</a> |"
             if $u->trusts( $fromuser );
         $ret .= " <a href='" . $fromuser->profile_url . "'>View Profile</a>";
     } else { # watched
-        $ret .= "<a href='$LJ::SITEROOT/manage/circle/add?user=" . 
$fromuser->user . "'>Unsubscribe</a>"
+        $ret .= "<a href='$LJ::SITEROOT/manage/circle/add?user=" . 
$fromuser->user . "'>Unsubscribe</a> |"
             if $u->watches( $fromuser );
         $ret .= " <a href='" . $fromuser->profile_url . "'>View Profile</a>";
     }
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to