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 năm trước cách đây
mục cha
commit
0e8ec12a8a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>
 								{{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="ui icon input">
 									<input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}">