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>
|
||||
{{ end }}
|
||||
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>
|
||||
</div>
|
||||
{{ template "comment.html" $activity.Comment }}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
by
|
||||
<a href="/{{ .State.Host }}/u/{{ fullname .Creator }}">{{ fullname .Creator }}</a>
|
||||
to
|
||||
<a href="/{{ .State.Host }}/c/{{ fullcname .Community }}">{{ fullcname .Community}}</a>
|
||||
<a href="/{{ .State.Host }}/c/{{ fullcname .Community }}">c/{{ fullcname .Community}}</a>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
{{ if .Post.NSFW }}<span class="nsfw">NSFW</span>{{end}}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ if .User }}
|
||||
<input type="hidden" name="username" value="{{.UserName}}">
|
||||
{{ else if .Community }}
|
||||
<input type="hidden" name="communityname" value="{{.CommunityName}}">
|
||||
<input type="hidden" name="communityname" value="{{fullcname .Community.CommunityView.Community}}">
|
||||
{{ end }}
|
||||
</form>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue