summaryrefslogtreecommitdiff
path: root/static/html/gruser.htm
diff options
context:
space:
mode:
Diffstat (limited to 'static/html/gruser.htm')
-rw-r--r--static/html/gruser.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/html/gruser.htm b/static/html/gruser.htm
index 6593951..4e8e3d1 100644
--- a/static/html/gruser.htm
+++ b/static/html/gruser.htm
@@ -30,7 +30,7 @@
</form> <h1>| {{.Templates.GroupUser.GR.Owner.Username}}</h1>
</header>
{{if eq .Type 'a'}}
- {{if ne .Templates.GroupUser.About.BG ""}}
+ {{if and (and (ne .Templates.About.Nsfw true) (ne .Templates.GroupUser.About.BGMeta.NSFW true)) (ne .Templates.GroupUser.About.BG "")}}
<a href="{{.Templates.GroupUser.About.BGMeta.Url}}" class="ubg"><img title="{{if ne .Templates.GroupUser.GR.Owner.Username .Templates.GroupUser.About.BGMeta.Author.Username}}
{{.Templates.GroupUser.About.BGMeta.Author.Username}} - {{end}}{{.Templates.GroupUser.About.BGMeta.Title}}" src="{{.Templates.GroupUser.About.BG}}"></a>
{{end}}