2016-02-17 17:43:23 +01:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2019-01-19 02:41:57 +01:00
|
|
|
$# Written in 2016, 2019 by fr33domlover <fr33domlover@riseup.net>.
|
2016-02-17 17:43:23 +01:00
|
|
|
$#
|
|
|
|
$# ♡ Copying is an act of love. Please copy, reuse and share.
|
|
|
|
$#
|
|
|
|
$# The author(s) have dedicated all copyright and related and neighboring
|
|
|
|
$# rights to this software to the public domain worldwide. This software is
|
|
|
|
$# distributed without any warranty.
|
|
|
|
$#
|
|
|
|
$# You should have received a copy of the CC0 Public Domain Dedication along
|
|
|
|
$# with this software. If not, see
|
|
|
|
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
|
2019-05-22 23:50:30 +02:00
|
|
|
$maybe (Entity _pid person, verified, sharer, unread) <- mperson
|
2016-05-02 16:16:51 +02:00
|
|
|
<div>
|
2019-01-21 23:51:19 +01:00
|
|
|
$if verified
|
2019-10-19 05:17:53 +02:00
|
|
|
<span>
|
2019-10-19 10:15:04 +02:00
|
|
|
[You are logged in as
|
|
|
|
<span .username>#{personLogin person}</span>]
|
2019-10-19 11:48:15 +02:00
|
|
|
$if unread > 0
|
|
|
|
<span>
|
|
|
|
<a href=@{NotificationsR $ sharerIdent sharer}>
|
|
|
|
🔔#{unread}
|
2019-10-19 05:17:53 +02:00
|
|
|
<span>
|
|
|
|
<a href=@{SharerInboxR $ sharerIdent sharer}>
|
|
|
|
[📥 Inbox]
|
|
|
|
<span>
|
|
|
|
<a href=@{SharerOutboxR $ sharerIdent sharer}>
|
|
|
|
[📤 Outbox]
|
|
|
|
<span>
|
|
|
|
<a href=@{SharerFollowersR $ sharerIdent sharer}>
|
|
|
|
[🐤 Followers]
|
2019-10-19 10:15:48 +02:00
|
|
|
<span>
|
|
|
|
<a href=@{SharerFollowingR $ sharerIdent sharer}>
|
|
|
|
[🐔 Following]
|
2019-10-31 12:29:00 +01:00
|
|
|
<span>
|
|
|
|
<a href=@{BrowseR}>
|
|
|
|
[📚 Browse projects]
|
2019-10-19 05:17:53 +02:00
|
|
|
<span>
|
|
|
|
<a href=@{PublishR}>
|
|
|
|
[📣 Publish an activity]
|
|
|
|
<span>
|
|
|
|
<a href=@{AuthR LogoutR}>
|
|
|
|
[🚪 Log out]
|
2019-01-21 23:51:19 +01:00
|
|
|
$else
|
2019-10-19 11:48:15 +02:00
|
|
|
<span>
|
|
|
|
You are logged in as #{personLogin person} (unverified). If you haven't
|
|
|
|
received a verification link by email, you can ask to
|
|
|
|
<a href=@{ResendVerifyEmailR}>resend
|
|
|
|
it. Or <a href=@{AuthR LogoutR}>Log out.
|
|
|
|
$if unread > 0
|
|
|
|
<span>
|
|
|
|
<a href=@{NotificationsR $ sharerIdent sharer}>
|
|
|
|
🔔#{unread}
|
2016-02-17 17:43:23 +01:00
|
|
|
$nothing
|
2016-05-02 16:16:51 +02:00
|
|
|
<div>
|
2016-02-17 17:43:23 +01:00
|
|
|
You are not logged in.
|
|
|
|
<a href=@{AuthR LoginR}>Log in.
|
2019-01-19 02:41:57 +01:00
|
|
|
Or
|
|
|
|
<a href=@{AuthR newAccountR}>Sign up.
|
2016-02-17 17:43:23 +01:00
|
|
|
|
2019-05-06 00:00:26 +02:00
|
|
|
$if federationDisabled
|
|
|
|
<p>
|
|
|
|
<span>
|
|
|
|
NOTE: Federation is disabled on this instance!
|
|
|
|
$if null federatedServers
|
|
|
|
<span>
|
|
|
|
You can test federation between other instances.
|
|
|
|
$else
|
|
|
|
<span>
|
|
|
|
You can test federation between the following instances:
|
|
|
|
<ul>
|
|
|
|
$forall h <- federatedServers
|
|
|
|
<li>
|
|
|
|
<code>
|
|
|
|
#{h}
|
|
|
|
|
2019-03-04 10:06:23 +01:00
|
|
|
<.instance>
|
2019-07-23 15:59:48 +02:00
|
|
|
Vervis @ #{renderAuthority instanceHost}
|
2019-03-04 10:06:23 +01:00
|
|
|
|
2016-05-06 12:29:02 +02:00
|
|
|
^{breadcrumbsW}
|
2016-05-02 16:16:51 +02:00
|
|
|
|
2019-11-03 14:20:48 +01:00
|
|
|
<div #messages>
|
|
|
|
$forall (_status, msg) <- msgs
|
|
|
|
<div .message>#{msg}
|
2016-05-02 16:16:51 +02:00
|
|
|
|
2016-02-13 04:35:30 +01:00
|
|
|
^{widget}
|
2016-05-18 10:35:13 +02:00
|
|
|
|
|
|
|
<footer>
|
|
|
|
^{revisionW}
|