aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-12-08 13:34:56 +0000
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-12-08 13:34:56 +0000
commit934172c2fc67a6d6d85ef252ddef47ce5fc8cf46 (patch)
tree1bc992641ea985be8797b3df0450d224ac10abb6 /view/tpl
parent99b5bef68eff4bc7b3a36b7626ec6aa1d936e5d9 (diff)
parentc8818d83498d19262ba90f7f2954828c24cf03cb (diff)
downloadvolse-hubzilla-934172c2fc67a6d6d85ef252ddef47ce5fc8cf46.tar.gz
volse-hubzilla-934172c2fc67a6d6d85ef252ddef47ce5fc8cf46.tar.bz2
volse-hubzilla-934172c2fc67a6d6d85ef252ddef47ce5fc8cf46.zip
Merge pull request #724 from pafcu/suggestionsindir
Show suggestions in directory
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/direntry.tpl3
-rwxr-xr-xview/tpl/peoplefind.tpl2
2 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index 2da920ab1..cdc6f1f97 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -6,6 +6,9 @@
{{if $entry.connect}}
<div class="directory-connect btn btn-default"><a href="{{$entry.connect}}"><i class="icon-plus connect-icon"></i> {{$entry.conn_label}}</a></div>
{{/if}}
+{{if $entry.ignlink}}
+<div class="directory-ignore btn btn-default"><a href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a></div>
+{{/if}}
</div>
</div>
diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl
index 2f23948c8..ba71c1e80 100755
--- a/view/tpl/peoplefind.tpl
+++ b/view/tpl/peoplefind.tpl
@@ -12,7 +12,7 @@
</form>
<ul class="nav nav-pills nav-stacked">
{{if $similar}}<li><a href="match" >{{$similar}}</a></li>{{/if}}
- {{if $loggedin}}<li><a href="suggest" >{{$suggest}}</a></li>{{/if}}
+ {{if $loggedin}}<li><a href="directory?suggest=1" >{{$suggest}}</a></li>{{/if}}
<li><a href="randprof" >{{$random}}</a></li>
{{if $loggedin}}{{if $inv}}<li><a href="invite" >{{$inv}}</a></li>{{/if}}{{/if}}
</ul>