Enha: filter out some words
This commit is contained in:
@ -1,13 +1,9 @@
|
||||
{{define "main"}}
|
||||
Start of main temp
|
||||
{{ if not . }}
|
||||
login temp
|
||||
{{template "login"}}
|
||||
{{ else if ne .LinkLogin "" }}
|
||||
got to linklogin
|
||||
{{template "linklogin" .LinkLogin}}
|
||||
{{ else if eq .State.RoomID "" }}
|
||||
empty state roomid
|
||||
<div id="hello-user">
|
||||
<p>Hello {{.State.Username}}</p>
|
||||
</div>
|
||||
@ -18,7 +14,6 @@
|
||||
{{template "roomlist" .List}}
|
||||
</div>
|
||||
{{else}}
|
||||
else
|
||||
<div id="room">
|
||||
{{template "room" .}}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user