Skip to content

Commit

Permalink
G+ plugin: Add nav breadcrumb to inner views
Browse files Browse the repository at this point in the history
Facebook and G+ plugins: Don't show repeating author image if every post has the same author
  • Loading branch information
ginatrapani committed Nov 14, 2011
1 parent 59e9f26 commit 31e0160
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webapp/plugins/facebook/view/facebook.inline.view.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
{if $all_facebook_posts and ($display eq 'posts-all' OR $display eq 'posts-questions')}
<div id="all-posts-div">
{foreach from=$all_facebook_posts key=tid item=t name=foo}
{include file="_post.tpl" t=$t}
{include file="_post.counts_no_author.tpl" post=$t show_favorites_instead_of_retweets="true"}
{/foreach}
</div>
{/if}

{if $most_replied_to_posts}
<div id="all-posts-div">
{foreach from=$most_replied_to_posts key=tid item=t name=foo}
{include file="_post.tpl" t=$t}
{include file="_post.counts_no_author.tpl" post=$t show_favorites_instead_of_retweets="true"}
{/foreach}
</div>
{/if}
Expand Down
9 changes: 6 additions & 3 deletions webapp/plugins/googleplus/view/googleplus.inline.view.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
{if $display eq 'all_gplus_posts' or $gplus_posts}

<div class="section">

{if $description}<h2>{$description}</h2>{/if}
<div class="clearfix">
{insert name="help_link" id=$display}
<h2>{if $parent_name}<a href="?v={$parent}&u={$instance->network_username|urlencode}&n={$instance->network|urlencode}">{$parent_name}</a> &rarr; {/if}{$header}</h2>
{if $description}<h3>{$description}</h3>{/if}
</div>

<div class="header">

Expand All @@ -43,7 +46,7 @@
{if $gplus_posts}
<div id="all-posts-div">
{foreach from=$gplus_posts key=tid item=t name=foo}
{include file="_post.tpl" t=$t}
{include file="_post.counts_no_author.tpl" post=$t show_favorites_instead_of_retweets="true"}
{/foreach}
</div>
{/if}
Expand Down

0 comments on commit 31e0160

Please sign in to comment.