Compare commits
No commits in common. "6d18209d2923d2c8d8a5fb0b4d44e8ab790b79b1" and "e617406872ec40d5eea0767759cd0add1cf693b0" have entirely different histories.
6d18209d29
...
e617406872
5 changed files with 16 additions and 18 deletions
|
@ -231,7 +231,6 @@ pub const Response = struct {
|
|||
writer,
|
||||
.{
|
||||
._page = templ,
|
||||
.@"mini-user" = @embedFile("./controllers/web/_components/mini-user.tmpl.html"),
|
||||
},
|
||||
@embedFile("./controllers/web/_format.tmpl.html"),
|
||||
data,
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
<div class="user-mini">
|
||||
<img class="avatar" src="{.avatar_url}" />
|
||||
<div class="details">
|
||||
<div class="display_name">
|
||||
{=#if .display_name |$name|=}
|
||||
{$name}
|
||||
{= #else =}
|
||||
{.username}
|
||||
{= /if =}
|
||||
</div>
|
||||
<div class="handle">@{.username}@{.host}</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,7 +1,7 @@
|
|||
<header>
|
||||
<h2>{ %community.name }</h2>
|
||||
</header>
|
||||
<form action="/login" method="post" enctype="multipart/form-data">
|
||||
<form action="/login" method="post">
|
||||
<h3>Login</h3>
|
||||
<label>
|
||||
<div>Username</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form action="/cluster/communities/create" method="post" enctype="multipart/form-data">
|
||||
<form action="/cluster/communities/create" method="post">
|
||||
<h2>Create Local Community</h2>
|
||||
<label>
|
||||
<div>Origin</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<header>
|
||||
<h2>{ %community.name }</h2>
|
||||
</header>
|
||||
<form action="/signup" method="post" enctype="multipart/form-data">
|
||||
<form action="/signup" method="post">
|
||||
<h3>Sign Up</h3>
|
||||
{#if .error_msg |$msg| =}
|
||||
<div class="error">Error: {$msg}</div>
|
||||
|
@ -9,7 +9,19 @@
|
|||
{#if .invite |$invite| =}
|
||||
<div>
|
||||
<div>You are about to accept an invite from:</div>
|
||||
{#template mini-user $invite.creator}
|
||||
<div class="user-mini">
|
||||
<img class="avatar" src="{$invite.creator.avatar_url}" />
|
||||
<div class="details">
|
||||
<div class="display_name">
|
||||
{=#if $invite.creator.display_name |$name|=}
|
||||
{$name}
|
||||
{= #else =}
|
||||
{$invite.creator.username}
|
||||
{= /if =}
|
||||
</div>
|
||||
<div class="handle">@{$invite.creator.username}@{$invite.creator.host}</div>
|
||||
</div>
|
||||
</div>
|
||||
{#if @isTag($invite.kind, community_owner) =}
|
||||
<div>This act will make your new account the owner of { %community.name }.</div>
|
||||
{/if =}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue