aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-28 17:51:00 +0000
committerr <r@freesoftwareextremist.com>2020-01-28 17:58:29 +0000
commit2af37d47783aac8c650ffd1578e2297b5784c73d (patch)
tree7b5c7a4b2fa530285bfaa16324e818d97dd00408 /templates
parent57d2a4288b02fd1245ee85ae629649798578cf6c (diff)
downloadbloat-2af37d47783aac8c650ffd1578e2297b5784c73d.tar.gz
bloat-2af37d47783aac8c650ffd1578e2297b5784c73d.zip
Refactor everything
Diffstat (limited to 'templates')
-rw-r--r--templates/followers.tmpl2
-rw-r--r--templates/following.tmpl2
-rw-r--r--templates/header.tmpl2
-rw-r--r--templates/notification.tmpl2
-rw-r--r--templates/search.tmpl2
-rw-r--r--templates/timeline.tmpl4
-rw-r--r--templates/user.tmpl2
7 files changed, 8 insertions, 8 deletions
diff --git a/templates/followers.tmpl b/templates/followers.tmpl
index 8102b26..44a303b 100644
--- a/templates/followers.tmpl
+++ b/templates/followers.tmpl
@@ -5,7 +5,7 @@
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
<div class="pagination">
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
diff --git a/templates/following.tmpl b/templates/following.tmpl
index 43a60dc..50413d5 100644
--- a/templates/following.tmpl
+++ b/templates/following.tmpl
@@ -5,7 +5,7 @@
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
<div class="pagination">
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
diff --git a/templates/header.tmpl b/templates/header.tmpl
index e6e7f0d..2889ead 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -8,7 +8,7 @@
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}
<title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
- <link rel="stylesheet" href="/static/main.css">
+ <link rel="stylesheet" href="/static/style.css">
{{if .CustomCSS}}
<link rel="stylesheet" href="{{.CustomCSS}}">
{{end}}
diff --git a/templates/notification.tmpl b/templates/notification.tmpl
index 86134ac..7d0e67c 100644
--- a/templates/notification.tmpl
+++ b/templates/notification.tmpl
@@ -65,7 +65,7 @@
{{end}}
<div class="pagination">
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
diff --git a/templates/search.tmpl b/templates/search.tmpl
index b4cd744..acbfbdd 100644
--- a/templates/search.tmpl
+++ b/templates/search.tmpl
@@ -31,7 +31,7 @@
{{end}}
<div class="pagination">
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index aa951fc..0321c7f 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -10,10 +10,10 @@
{{end}}
<div class="pagination">
- {{if .HasPrev}}
+ {{if .PrevLink}}
<a href="{{.PrevLink}}">prev</a>
{{end}}
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>
diff --git a/templates/user.tmpl b/templates/user.tmpl
index abf22ec..bab24b2 100644
--- a/templates/user.tmpl
+++ b/templates/user.tmpl
@@ -56,7 +56,7 @@
{{end}}
<div class="pagination">
- {{if .HasNext}}
+ {{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>