2023-12-12 22:21:06 +01:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2024-03-18 19:53:32 +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>Children
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Role
|
|
|
|
<th>Since
|
|
|
|
<th>Child
|
2024-04-27 09:56:11 +02:00
|
|
|
$if haveAdmin
|
|
|
|
<th>Remove
|
|
|
|
$forall (role, since, child, sourceID) <- children
|
2023-12-12 22:21:06 +01:00
|
|
|
<tr>
|
|
|
|
<td>#{show role}
|
|
|
|
<td>#{showDate since}
|
|
|
|
<td>^{projectLinkFedW child}
|
2024-04-27 09:56:11 +02:00
|
|
|
$if haveAdmin
|
|
|
|
<td>^{buttonW POST "Remove" (ProjectRemoveChildR projectHash sourceID)}
|
2024-03-18 19:53:32 +01:00
|
|
|
|
2024-04-27 19:58:26 +02:00
|
|
|
$if haveAdmin
|
|
|
|
<p>Add a child:
|
|
|
|
<form method=POST action=@{ProjectAddChildR projectHash} enctype=#{enctypeAC}>
|
|
|
|
^{widgetAC}
|
|
|
|
<input type=submit>
|
|
|
|
|
2024-03-18 19:53:32 +01:00
|
|
|
<h2>Invites
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Inviter
|
|
|
|
<th>Via
|
|
|
|
<th>Invited child
|
|
|
|
<th>Child accepted?
|
|
|
|
<th>Role
|
|
|
|
<th>Time
|
|
|
|
$forall (inviter, us, child, accept, time, role) <- invites
|
|
|
|
<tr>
|
|
|
|
<td>^{actorLinkFedW inviter}
|
|
|
|
<td>
|
|
|
|
$if us
|
|
|
|
Us
|
|
|
|
$else
|
|
|
|
Them
|
|
|
|
<td>^{projectLinkFedW child}
|
|
|
|
<td>
|
|
|
|
$if accept
|
|
|
|
[x]
|
|
|
|
$else
|
|
|
|
[_]
|
|
|
|
<td>#{show role}
|
|
|
|
<td>#{showDate time}
|