mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-22 05:36:16 +00:00
move communities to bottom of all search
This commit is contained in:
parent
edd773c2fc
commit
f5adb0e0fe
|
@ -56,10 +56,6 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range .Communities }}
|
|
||||||
{{ template "community.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if eq .Op "create_community" "edit_community" }}
|
{{ if eq .Op "create_community" "edit_community" }}
|
||||||
{{ template "create_community.html" . }}
|
{{ template "create_community.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -123,6 +119,10 @@
|
||||||
{{ template "activities.html" . }}
|
{{ template "activities.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range .Communities }}
|
||||||
|
{{ template "community.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if or (and (not .Op) (not .Activities) (not .Comments) (not .Posts) (not .Communities)) (and (not .Comments) .PostID) (and (not .Activities) (not .Query) .User) }}
|
{{ if or (and (not .Op) (not .Activities) (not .Comments) (not .Posts) (not .Communities)) (and (not .Comments) .PostID) (and (not .Activities) (not .Query) .User) }}
|
||||||
<div class="error">there doesn't seem to be anything here</div>
|
<div class="error">there doesn't seem to be anything here</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue