Bläddra i källkod

[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 år sedan
förälder
incheckning
0e8ec12a8a
1 ändrade filer med 1 tillägg och 1 borttagningar
  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"}}">