Browse Source

Added global directory link to the find people side panel

pull/3567/head
RJ Madsen 3 years ago
parent
commit
255f38710c
4 changed files with 14 additions and 5 deletions
  1. +3
    -0
      .gitignore
  2. +2
    -1
      include/contact_widgets.php
  3. +1
    -0
      view/templates/peoplefind.tpl
  4. +8
    -4
      view/theme/smoothly/style.css

+ 3
- 0
.gitignore View File

@ -54,3 +54,6 @@ venv/
#ignore git projects in vendor
vendor/**/.git
#ignore config files from JetBrains
/.idea

+ 2
- 1
include/contact_widgets.php View File

@ -37,7 +37,8 @@ function findpeople_widget() {
'$suggest' => t('Friend Suggestions'),
'$similar' => t('Similar Interests'),
'$random' => t('Random Profile'),
'$inv' => t('Invite Friends')
'$inv' => t('Invite Friends'),
'directory' => t('View Global Directory')
));
}


+ 1
- 0
view/templates/peoplefind.tpl View File

@ -7,6 +7,7 @@
</form>
<div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div>
<div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div>
<div class="side-link" id="side-directory-link"><a href="directory" >{{$directory}}</a></div>
<div class="side-link" id="side-random-profile-link" ><a href="randprof" target="extlink" >{{$random}}</a></div>
{{if $inv}}
<div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div>


+ 8
- 4
view/theme/smoothly/style.css View File

@ -3057,7 +3057,8 @@ margin-left: 0px;
#side-invite-link,
#side-random-profile-link,
#side-suggest-link,
#side-match-link {
#side-match-link,
#side-directory-link {
width: 80%;
padding: 10px;
margin: auto;
@ -3079,7 +3080,8 @@ margin-left: 0px;
#side-invite-link:hover,
#side-random-profile-link:hover,
#side-suggest-link:hover,
#side-match-link:hover {
#side-match-link:hover,
#side-directory-link:hover {
color: #efefef;
background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1873a2), color-stop(1, #6da6c4) );
background: -moz-linear-gradient( center top, #1873a2 5%, #6da6c4 100% );
@ -3098,7 +3100,8 @@ margin-left: 0px;
#side-invite-link:active,
#side-random-profile-link:active,
#side-suggest-link:active,
#side-match-link:active {
#side-match-link:active,
#side-directory-link:active {
background-color: #1873a2;
position: relative;
top: 1px;
@ -3107,7 +3110,8 @@ margin-left: 0px;
#side-invite-link a,
#side-random-profile-link a,
#side-suggest-link a,
#side-match-link a {
#side-match-link a,
#side-directory-link a {
color: #efefef;
}


Loading…
Cancel
Save