File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
</h3>
19
19
<div>
20
20
{{range $term := .SearchResultLanguages}}
21
- <a class="ui {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{$.AppSubURL }}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
21
+ <a class="ui {{if eq $.Language $term.Language}}primary {{end}}basic label" href="{{AppSubUrl }}/explore/code?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}">
22
22
<i class="color-icon" style="background-color: {{$term.Color}}"></i>
23
23
{{$term.Language}}
24
24
<div class="detail">{{$term.Count}}</div>
Original file line number Diff line number Diff line change 34
34
{{end}}
35
35
</td>
36
36
<td>
37
- <a href="{{$. AppSubUrl}}/{{$lock.Owner.Name}}">
37
+ <a href="{{AppSubUrl}}/{{$lock.Owner.Name}}">
38
38
<img class="ui avatar image" src="{{$lock.Owner.RelAvatarLink}}">
39
39
{{$lock.Owner.DisplayName}}
40
40
</a>
Original file line number Diff line number Diff line change 30
30
<div class="item">
31
31
<!-- TODO add regenerate secret functionality */ -->
32
32
{{.i18n.Tr "settings.oauth2_regenerate_secret_hint"}}
33
- <form class="ui form ignore-dirty" action="{{$.AppSubURL }}/user/settings/applications/oauth2/{{.App.ID}}/regenerate_secret" method="post">
33
+ <form class="ui form ignore-dirty" action="{{AppSubUrl }}/user/settings/applications/oauth2/{{.App.ID}}/regenerate_secret" method="post">
34
34
{{.CsrfTokenHtml}}
35
35
<a href="#" onclick="event.target.parentNode.submit()">{{.i18n.Tr "settings.oauth2_regenerate_secret"}}</a>
36
36
</form>
37
37
</div>
38
38
</div>
39
39
<div class="ui attached bottom segment">
40
- <form class="ui form ignore-dirty" action="{{$.AppSubURL }}/user/settings/applications/oauth2/{{.App.ID}}" method="post">
40
+ <form class="ui form ignore-dirty" action="{{AppSubUrl }}/user/settings/applications/oauth2/{{.App.ID}}" method="post">
41
41
{{.CsrfTokenHtml}}
42
42
<div class="field {{if .Err_AppName}}error{{end}}">
43
43
<label for="application-name">{{.i18n.Tr "settings.oauth2_application_name"}}</label>
You can’t perform that action at this time.
0 commit comments