summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorlost+skunk <[email protected]>2024-07-04 11:26:52 +0300
committerlost+skunk <[email protected]>2024-07-04 11:26:52 +0300
commit68248094e89b6af134147668a9add429b9a6fa77 (patch)
tree10f000053b4d13613763e23f3f20ed33d25b09e2 /html
parented031b353078d0b58a67981de4d463c8563a20d7 (diff)
downloadskunky-art-68248094e89b6af134147668a9add429b9a6fa77.tar.gz
skunky-art-68248094e89b6af134147668a9add429b9a6fa77.tar.bz2
skunky-art-68248094e89b6af134147668a9add429b9a6fa77.zip
Галерея, папки и группы
Diffstat (limited to 'html')
-rw-r--r--html/gruser.htm21
1 files changed, 17 insertions, 4 deletions
diff --git a/html/gruser.htm b/html/gruser.htm
index 5a5c801..9035a88 100644
--- a/html/gruser.htm
+++ b/html/gruser.htm
@@ -19,12 +19,12 @@
<input type="gallery" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
<input type="hidden" name="usr" value="{{.Templates.GroupUser.GR.Owner.Username}}">
<select name="type">
+ <option value="gallery">Gallery</option>
<option value="all">All</option>
<option value="tag">Tag</option>
- <option value="gallery">Gallery</option>
</select>
<button type="submit">Search!</button>
- </form>
+ </form> <h1>| {{.Templates.GroupUser.GR.Owner.Username}}</h1>
</header>
{{if eq .Type 'a'}}
{{if ne .Templates.GroupUser.About.BG ""}}
@@ -42,12 +42,24 @@
[<span title="UID">{{.Templates.GroupUser.GR.Gruser.ID}}</span>]
[<span title="Registration date">{{.Templates.GroupUser.CreationDate}}</span>]
{{if ne .Templates.GroupUser.GR.Extra.Tag ""}}
- <i title="User's Tag">"{{.Templates.GroupUser.GR.Extra.Tag}}"</i>{{end}} (<b>{{.Templates.GroupUser.About.A.Country}}</b>)
+ <i title="User's Tag">"{{.Templates.GroupUser.GR.Extra.Tag}}"</i>{{end}} {{if ne .Templates.GroupUser.About.A.Country ""}}
+ (<b>{{.Templates.GroupUser.About.A.Country}}</b>)
+ {{end}}
+ {{if .Templates.GroupUser.Group}}
+ <h3 id="stats"><a href="#stats">#</a> Statistics</h3>
+ <p>Watchers: <b>{{.Templates.GroupUser.GR.Extra.Stats.Watchers}}</b>; Pageviews: <b>{{.Templates.GroupUser.GR.Extra.Stats.Pageviews}}</b></b>
+ {{else}}
<h3 id="stats"><a href="#stats">#</a> Statistics</h3>
<p>Favourites: <b>{{.Templates.GroupUser.GR.Extra.Stats.Favourites}}</b>; Deviations: <b>{{.Templates.GroupUser.GR.Extra.Stats.Deviations}}</b>; Watchers: <b>{{.Templates.GroupUser.GR.Extra.Stats.Watchers}}</b>
<p>Watching: <b>{{.Templates.GroupUser.GR.Extra.Stats.Watching}}</b>; Pageviews: <b>{{.Templates.GroupUser.GR.Extra.Stats.Pageviews}}</b>; Comments Made: <b>{{.Templates.GroupUser.GR.Extra.Stats.CommentsMade}}</b>; Friends: <b>{{.Templates.GroupUser.GR.Extra.Stats.Friends}}</b></p>
-
+ {{end}}
+
+ {{if ne .Templates.GroupUser.Admins ""}}
+ <h3 id="admins"><a href="#admins">#</a> Group admins</h3>
+ {{.Templates.GroupUser.Admins}}
+ {{end}}
+
{{if ne .Templates.GroupUser.About.Interests ""}}
<h3 id="interests"><a href="#interests">#</a> Interests</h3>
{{.Templates.GroupUser.About.Interests}}
@@ -68,6 +80,7 @@
{{.Templates.GroupUser.About.Comments}}
{{end}}
{{else}}
+ {{.Templates.GroupUser.Gallery.Folders}}
{{.Templates.GroupUser.Gallery.List}}
{{end}}
</main>