mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-21 21:27:15 +00:00
move communities to bottom of all search
This commit is contained in:
parent
edd773c2fc
commit
f5adb0e0fe
|
@ -56,10 +56,6 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Communities }}
|
||||
{{ template "community.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Op "create_community" "edit_community" }}
|
||||
{{ template "create_community.html" . }}
|
||||
{{ end }}
|
||||
|
@ -123,6 +119,10 @@
|
|||
{{ template "activities.html" . }}
|
||||
{{ 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) }}
|
||||
<div class="error">there doesn't seem to be anything here</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue