mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-22 13:47:42 +00:00
fix non local community search
This commit is contained in:
parent
ddf25011cc
commit
2b0eefa172
|
@ -13,7 +13,7 @@
|
||||||
<a href="">{{$state.User.PersonView.Person.Name }}</a>
|
<a href="">{{$state.User.PersonView.Person.Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
in
|
in
|
||||||
<a href="/{{$state.Host}}/c/{{ fullcname $activity.Comment.P.Community }}">/c/{{ $activity.Comment.P.Community.Name }}</a>
|
<a href="/{{$state.Host}}/c/{{ fullcname $activity.Comment.P.Community }}">c/{{ $activity.Comment.P.Community.Name }}</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{ template "comment.html" $activity.Comment }}
|
{{ template "comment.html" $activity.Comment }}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
by
|
by
|
||||||
<a href="/{{ .State.Host }}/u/{{ fullname .Creator }}">{{ fullname .Creator }}</a>
|
<a href="/{{ .State.Host }}/u/{{ fullname .Creator }}">{{ fullname .Creator }}</a>
|
||||||
to
|
to
|
||||||
<a href="/{{ .State.Host }}/c/{{ fullcname .Community }}">{{ fullcname .Community}}</a>
|
<a href="/{{ .State.Host }}/c/{{ fullcname .Community }}">c/{{ fullcname .Community}}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
{{ if .Post.NSFW }}<span class="nsfw">NSFW</span>{{end}}
|
{{ if .Post.NSFW }}<span class="nsfw">NSFW</span>{{end}}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{{ if .User }}
|
{{ if .User }}
|
||||||
<input type="hidden" name="username" value="{{.UserName}}">
|
<input type="hidden" name="username" value="{{.UserName}}">
|
||||||
{{ else if .Community }}
|
{{ else if .Community }}
|
||||||
<input type="hidden" name="communityname" value="{{.CommunityName}}">
|
<input type="hidden" name="communityname" value="{{fullcname .Community.CommunityView.Community}}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</form>
|
</form>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue