本站源代码
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

25 rindas
864B

  1. {{with .Owner}}
  2. <div class="ui container">
  3. <img class="ui avatar image" src="{{.RelAvatarLink}}">
  4. <span class="header name">
  5. <a href="{{.HomeLink}}">{{.Name}}</a>
  6. {{with .FullName}}({{.}}){{end}}
  7. </span>
  8. <div class="ui right">
  9. {{if or $.PageIsFollowers $.PageIsFollowing}}
  10. {{if and $.IsSigned (ne $.SignedUserName .Name)}}
  11. <div class="follow">
  12. {{if $.SignedUser.IsFollowing .ID}}
  13. <a class="ui small basic red button" href="{{.HomeLink}}/action/unfollow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{$.i18n.Tr "user.unfollow"}}</a>
  14. {{else}}
  15. <a class="ui small basic green button" href="{{.HomeLink}}/action/follow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{$.i18n.Tr "user.follow"}}</a>
  16. {{end}}
  17. </div>
  18. {{end}}
  19. {{end}}
  20. </div>
  21. </div>
  22. {{end}}
  23. <div class="ui divider"></div>
上海开阖软件有限公司 沪ICP备12045867号-1