summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/stats.pug4
-rw-r--r--views/user.pug4
-rw-r--r--views/user_list.pug23
3 files changed, 3 insertions, 28 deletions
diff --git a/views/stats.pug b/views/stats.pug
index 65649b3..4d275b0 100644
--- a/views/stats.pug
+++ b/views/stats.pug
@@ -22,9 +22,7 @@ html
th
a(href="/"+row.title_id)= row.title_name
unless row.scenario === "Standard"
- | , #{row.scenario}
- unless row.options === "None"
- | , #{row.options}
+ | – #{row.scenario}
th= row.total
tbody
- for (let i=0; i<row.result_role.length; ++i)
diff --git a/views/user.pug b/views/user.pug
index 545d1ab..c11f865 100644
--- a/views/user.pug
+++ b/views/user.pug
@@ -31,9 +31,9 @@ html
a(href="/message/send/"+who.name) Send message
br
if relation > 0
- a(href="/contact/remove-user/"+who.name) Remove from friends
+ a(href="/contact/remove/"+who.name) Remove from friends
else if relation < 0
- a(href="/contact/remove-user/"+who.name) Remove from blacklist
+ a(href="/contact/remove/"+who.name) Remove from blacklist
else
a(href="/contact/add-friend/"+who.name) Add to friends
br
diff --git a/views/user_list.pug b/views/user_list.pug
deleted file mode 100644
index 703ee4d..0000000
--- a/views/user_list.pug
+++ /dev/null
@@ -1,23 +0,0 @@
-//- vim:ts=4:sw=4:
-doctype html
-html
- head
- include head
- title User List
- body
- include header
- article
- h1 User List
-
- table
- thead
- tr
- th Name
- th Member since
- th Last seen
- tbody
- each row in user_list
- tr
- td.name: a(href="/user/"+row.name)= row.name
- td= row.ctime
- td= row.atime