From 8933076296c51d2a97710e82049838c5cbf1e79e Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Tue, 25 Feb 2020 13:06:55 -0500 Subject: [PATCH] Add invite button to admin Users page header Ref T694 --- less/admin.less | 7 +++++++ less/core.less | 2 +- templates/user/admin/users.tmpl | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/less/admin.less b/less/admin.less index 2aa34dc..ec49292 100644 --- a/less/admin.less +++ b/less/admin.less @@ -48,3 +48,10 @@ nav#admin { } } } + +.admin-actions { + .btn { + font-family: @sansFont; + font-size: 0.86em; + } +} \ No newline at end of file diff --git a/less/core.less b/less/core.less index afccc9c..231f373 100644 --- a/less/core.less +++ b/less/core.less @@ -1421,7 +1421,7 @@ div.row { } @media all and (max-width: 600px) { - div.row { + div.row:not(.admin-actions) { flex-direction: column; } .half { diff --git a/templates/user/admin/users.tmpl b/templates/user/admin/users.tmpl index 51dd54a..714fa24 100644 --- a/templates/user/admin/users.tmpl +++ b/templates/user/admin/users.tmpl @@ -4,7 +4,10 @@
{{template "admin-header" .}} -

Users {{.TotalUsers}} total

+
+ {{.TotalUsers}} {{pluralize "user" "users" .TotalUsers}} + + Invite people +