Skip to content

Commit

Permalink
Merge pull request #332 from ninetyd/bug4973/post_success_link
Browse files Browse the repository at this point in the history
Bug 4973 - Add "view my entries in this community" to post-entry-creatio...
  • Loading branch information
afuna committed Apr 16, 2013
2 parents 219ccc1 + 539f657 commit 1f10ef3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cgi-bin/DW/Controller/Entry.pm
Expand Up @@ -993,6 +993,9 @@ sub _do_post {
ml_string => "/update.bml.success.links.tags" },
);

push @links, { url => $ju->journal_base . "?poster=" . $auth->{poster}->user,
ml_string => "/update.bml.success.links.myentries" } if $ju->is_community;


# crosspost!
my @crossposts = _queue_crosspost( $form_req,
Expand Down
2 changes: 2 additions & 0 deletions htdocs/update.bml.text
Expand Up @@ -115,6 +115,8 @@

.success.links.memories=Add the entry to your memories

.success.links.myentries=View all my entries in this community

.success.links.tags=Edit this entry's tags

.success.links.view=View the entry
Expand Down

0 comments on commit 1f10ef3

Please sign in to comment.