* Add octicon SVG sprite Signed-off-by: jolheiser <[email protected]> * Static prefix Signed-off-by: jolheiser <[email protected]> * SVG for all repo icons Signed-off-by: jolheiser <[email protected]> * make vendor Signed-off-by: jolheiser <[email protected]> * Swap out octicons Signed-off-by: jolheiser <[email protected]> * Move octicons to top of less imports Signed-off-by: jolheiser <[email protected]> * Fix JS Signed-off-by: jolheiser <[email protected]> * Definitely not a search/replace Signed-off-by: jolheiser <[email protected]> * Missed regex Signed-off-by: jolheiser <[email protected]> * Move to more generic calls and webpack Signed-off-by: jolheiser <[email protected]> * make svg -> make webpack Signed-off-by: jolheiser <[email protected]> * Remove svg-sprite Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Missed a test Signed-off-by: jolheiser <[email protected]> * Remove svg from makefile Signed-off-by: jolheiser <[email protected]> * Suggestions Signed-off-by: jolheiser <[email protected]> * Attempt to fix test Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Revert timetracking test Signed-off-by: jolheiser <[email protected]> * Swap .octicon for .svg in less Signed-off-by: jolheiser <[email protected]> * Add aria-hidden Signed-off-by: jolheiser <[email protected]> * Replace mega-octicon Signed-off-by: jolheiser <[email protected]> * Fix webpack globbing on Windows Signed-off-by: jolheiser <[email protected]> * Revert Co-Authored-By: silverwind <[email protected]> * Fix octions from upstream Signed-off-by: jolheiser <[email protected]> * Fix Vue and missed JS function Signed-off-by: jolheiser <[email protected]> * Add JS helper and PWA Signed-off-by: jolheiser <[email protected]> * Preload SVG Signed-off-by: jolheiser <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
18 lines
1.0 KiB
Cheetah
18 lines
1.0 KiB
Cheetah
<div class="ui top attached pull tabular stackable menu">
|
|
<a class="item {{if .PageIsPullConversation}}active{{end}}" href="{{.RepoLink}}/pulls/{{.Issue.Index}}">
|
|
{{svg "octicon-comment-discussion" 16}}
|
|
{{$.i18n.Tr "repo.pulls.tab_conversation"}}
|
|
<span class="ui {{if not .Issue.NumComments}}gray{{else}}blue{{end}} small label">{{.Issue.NumComments}}</span>
|
|
</a>
|
|
<a class="item {{if .PageIsPullCommits}}active{{end}}" {{if .NumCommits}}href="{{.RepoLink}}/pulls/{{.Issue.Index}}/commits"{{end}}>
|
|
{{svg "octicon-git-commit" 16}}
|
|
{{$.i18n.Tr "repo.pulls.tab_commits"}}
|
|
<span class="ui {{if not .NumCommits}}gray{{else}}blue{{end}} small label">{{if .NumCommits}}{{.NumCommits}}{{else}}N/A{{end}}</span>
|
|
</a>
|
|
<a class="item {{if .PageIsPullFiles}}active{{end}}" {{if .NumFiles}}href="{{.RepoLink}}/pulls/{{.Issue.Index}}/files"{{end}}>
|
|
{{svg "octicon-diff" 16}}
|
|
{{$.i18n.Tr "repo.pulls.tab_files"}}
|
|
<span class="ui {{if not .NumFiles}}gray{{else}}blue{{end}} small label">{{if .NumFiles}}{{.NumFiles}}{{else}}N/A{{end}}</span>
|
|
</a>
|
|
</div>
|