浏览代码

[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 年之前
父节点
当前提交
0e8ec12a8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"}}">