Browse Source

[head] Add search octicon to Explore link

Since our Explore page also serves the search function for interfacing
with the indexing service, adding the search octicon (magnifying glass)
makes it clearer for users.
Achilleas Koutsou 6 years ago
parent
commit
0e8ec12a8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/base/head.tmpl

+ 1 - 1
templates/base/head.tmpl

@@ -100,7 +100,7 @@
 									<a class="item{{if .PageIsHome}} active{{end}}" href="{{AppSubURL}}/">{{.i18n.Tr "home"}}</a>
 									<a class="item{{if .PageIsHome}} active{{end}}" href="{{AppSubURL}}/">{{.i18n.Tr "home"}}</a>
 								{{end}}
 								{{end}}
 
 
-								<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubURL}}/explore/repos">{{.i18n.Tr "explore"}}</a>
+								<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubURL}}/explore/repos"><i class="octicon octicon-search"></i>{{.i18n.Tr "explore"}}</a>
 								{{/*<div class="item">
 								{{/*<div class="item">
 									<div class="ui icon input">
 									<div class="ui icon input">
 									<input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}">
 									<input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}">