You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tab_menu.tmpl 825B

1234567891011121314151617
  1. <div class="ui top attached pull tabular stackable menu">
  2. <a class="item {{if .PageIsPullConversation}}active{{end}}" href="{{.Issue.Link}}">
  3. {{svg "octicon-comment-discussion"}}
  4. {{$.locale.Tr "repo.pulls.tab_conversation"}}
  5. <span class="ui small label">{{.Issue.NumComments}}</span>
  6. </a>
  7. <a class="item {{if .PageIsPullCommits}}active{{end}}" {{if .NumCommits}}href="{{.Issue.Link}}/commits"{{end}}>
  8. {{svg "octicon-git-commit"}}
  9. {{$.locale.Tr "repo.pulls.tab_commits"}}
  10. <span class="ui small label">{{if .NumCommits}}{{.NumCommits}}{{else}}-{{end}}</span>
  11. </a>
  12. <a class="item {{if .PageIsPullFiles}}active{{end}}" href="{{.Issue.Link}}/files">
  13. {{svg "octicon-diff"}}
  14. {{$.locale.Tr "repo.pulls.tab_files"}}
  15. <span class="ui small label">{{if .NumFiles}}{{.NumFiles}}{{else}}-{{end}}</span>
  16. </a>
  17. </div>