Forráskód Böngészése

[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 éve
szülő
commit
0e8ec12a8a
1 módosított fájl, 1 hozzáadás és 1 törlés
  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"}}">