2023-12-12 22:21:06 +01:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2024-03-18 20:40:14 +01:00
|
|
|
$# Written in 2016, 2019, 2022, 2023, 2024
|
|
|
|
$# by fr33domlover <fr33domlover@riseup.net>.
|
2023-12-12 22:21:06 +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/>.
|
|
|
|
|
|
|
|
^{projectNavW (Entity projectID project) actor}
|
|
|
|
|
|
|
|
<h2>Parents
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Role
|
|
|
|
<th>Since
|
2024-03-18 20:40:14 +01:00
|
|
|
<th>Parent
|
2024-04-27 10:31:09 +02:00
|
|
|
$if haveAdmin
|
|
|
|
<th>Remove
|
|
|
|
$forall (role, since, parent, destID) <- parents
|
2023-12-12 22:21:06 +01:00
|
|
|
<tr>
|
|
|
|
<td>#{show role}
|
|
|
|
<td>#{showDate since}
|
|
|
|
<td>^{projectLinkFedW parent}
|
2024-04-27 10:31:09 +02:00
|
|
|
$if haveAdmin
|
|
|
|
<td>^{buttonW POST "Remove" (ProjectRemoveParentR projectHash destID)}
|
2024-03-18 20:40:14 +01:00
|
|
|
|
|
|
|
<h2>Invites
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Inviter
|
|
|
|
<th>Via
|
|
|
|
<th>Invited parent
|
2024-04-10 20:56:11 +02:00
|
|
|
<th>I accepted?
|
2024-03-18 20:40:14 +01:00
|
|
|
<th>Role
|
|
|
|
<th>Time
|
|
|
|
$forall (inviter, us, parent, accept, time, role) <- invites
|
|
|
|
<tr>
|
|
|
|
<td>^{actorLinkFedW inviter}
|
|
|
|
<td>
|
|
|
|
$if us
|
|
|
|
Us
|
|
|
|
$else
|
|
|
|
Them
|
|
|
|
<td>^{projectLinkFedW parent}
|
|
|
|
<td>
|
|
|
|
$if accept
|
|
|
|
[x]
|
|
|
|
$else
|
|
|
|
[_]
|
|
|
|
<td>#{show role}
|
|
|
|
<td>#{showDate time}
|