@@ -10,11 +10,11 @@ import ( "dmitri.shuralyov.com/app/changes/component" "dmitri.shuralyov.com/service/change" "github.com/shurcooL/htmlg" "github.com/shurcooL/httperror" "github.com/shurcooL/octiconssvg" "github.com/shurcooL/octicon" "golang.org/x/net/html" "golang.org/x/net/html/atom" ) var changesHTML = template.Must(template.New("").Parse(`{{define "Header"}}<html> @@ -114,18 +114,18 @@ func (h *handler) serveChanges(w http.ResponseWriter, req *http.Request, pkg str } tabnav := tabnav{ Tabs: []tab{ { Content: contentCounter{ Content: iconText{Icon: octiconssvg.IssueOpened, Text: "Issues"}, Content: iconText{Icon: octicon.IssueOpened, Text: "Issues"}, Count: len(ic.OpenIssues), }, URL: h.rtr.IssuesURL(pkg), }, { Content: contentCounter{ Content: iconText{Icon: octiconssvg.GitPullRequest, Text: "Changes"}, Content: iconText{Icon: octicon.GitPullRequest, Text: "Changes"}, Count: len(ic.OpenChanges), }, URL: h.rtr.ChangesURL(pkg), Selected: true, },
@@ -10,11 +10,11 @@ import ( "github.com/shurcooL/htmlg" "github.com/shurcooL/httperror" "github.com/shurcooL/issues" "github.com/shurcooL/issuesapp/component" "github.com/shurcooL/octiconssvg" "github.com/shurcooL/octicon" "golang.org/x/net/html" "golang.org/x/net/html/atom" ) var issuesHTML = template.Must(template.New("").Parse(`{{define "Header"}}<html> @@ -114,19 +114,19 @@ func (h *handler) serveIssues(w http.ResponseWriter, req *http.Request, pkg stri } tabnav := tabnav{ Tabs: []tab{ { Content: contentCounter{ Content: iconText{Icon: octiconssvg.IssueOpened, Text: "Issues"}, Content: iconText{Icon: octicon.IssueOpened, Text: "Issues"}, Count: len(ic.OpenIssues), }, URL: h.rtr.IssuesURL(pkg), Selected: true, }, { Content: contentCounter{ Content: iconText{Icon: octiconssvg.GitPullRequest, Text: "Changes"}, Content: iconText{Icon: octicon.GitPullRequest, Text: "Changes"}, Count: len(ic.OpenChanges), }, URL: h.rtr.ChangesURL(pkg), }, },