Rework Profile::sidebar profile link conditions
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor - Remove pseudo-field contact.remoteconnect
This commit is contained in:
parent
61c79ce9ee
commit
3aebb92cf3
9 changed files with 150 additions and 175 deletions
|
@ -36,21 +36,20 @@
|
|||
|
||||
{{include file="diaspora_vcard.tpl"}}
|
||||
|
||||
<div id="profile-vcard-break"></div>
|
||||
<div id="profile-vcard-break"></div>
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
{{if $connect}}
|
||||
{{if $remoteconnect}}
|
||||
<li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
|
||||
{{else}}
|
||||
<li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
|
||||
{{/if}}
|
||||
{{if $unfollow_link}}
|
||||
<li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
|
||||
{{/if}}
|
||||
{{if $wallmessage}}
|
||||
{{if $follow_link}}
|
||||
<li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
|
||||
{{/if}}
|
||||
{{if $wallmessage_link}}
|
||||
<li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
|
||||
{{/if}}
|
||||
{{if $subscribe_feed}}
|
||||
<li><a id="subscribe-feed-link" href="dfrn_poll/{{$profile.nickname}}">{{$subscribe_feed}}</a></li>
|
||||
{{if $subscribe_feed_link}}
|
||||
<li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue