diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-08-23 11:28:13 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-08-23 11:28:13 +0200 |
commit | 2e611ce080ce4c9d3bb74ab9cd423a6b123e7043 (patch) | |
tree | b0feaf186829d62d9be353237589dd9670a98c38 /templates/room | |
parent | 701ff00b72b423b77e3d1e09dc7fc1b817b207cb (diff) | |
download | ramaskrik-social-2e611ce080ce4c9d3bb74ab9cd423a6b123e7043.tar.gz ramaskrik-social-2e611ce080ce4c9d3bb74ab9cd423a6b123e7043.tar.bz2 ramaskrik-social-2e611ce080ce4c9d3bb74ab9cd423a6b123e7043.zip |
Add link to create new rom in room list template.
Diffstat (limited to 'templates/room')
-rw-r--r-- | templates/room/list.tera | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/room/list.tera b/templates/room/list.tera index 23b2086..7654427 100644 --- a/templates/room/list.tera +++ b/templates/room/list.tera @@ -6,6 +6,9 @@ <body> <h1>Rooms</h1> +<p> +<a href="/rooms/new">Add room</a></p> + {% if rooms | length <= 0%} No rooms defined. {% else %} |