mirror of
https://github.com/acaloiaro/newsbox
synced 2026-07-21 18:29:15 +00:00
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<div class="py-4 mb-2 text-start">
|
|
<h3 class="d-inline-block">Profile</h3>
|
|
|
|
<div class="float-end">
|
|
<%= linkTo(editProfilePath({ profile_id: user.ID }), {class: "btn btn-warning", body: "Edit"}) %>
|
|
</div>
|
|
<p>Newsbox Email: <input class="form-control-lg" id="newsbox-email-address" value="<%= user.Username %>@<%=site_domain
|
|
%>" disabled></input>
|
|
<button class="btn btn-primary"
|
|
onclick="copyToClipboard('newsbox-email-address')">Copy</button>
|
|
</p>
|
|
|
|
<p>Name: <strong><%= user.Name %></strong></p>
|
|
<p>Email:
|
|
<%= if (user.Email.Interface() == "") { %>
|
|
<span class="alert alert-warning alert-sm" role="alert">
|
|
<strong>Your must add an email address to receive mail</strong>
|
|
</span>
|
|
<% } else { %>
|
|
<strong><%= user.Email %></strong>
|
|
<% } %>
|
|
</p>
|
|
<p>Delivery time: <strong><%= delivery_time %>:00 <%=delivery_time_zone %></strong></p>
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="list-group mb-2 ">
|
|
|
|
</ul>
|