Vervis/templates/factory/one.hamlet
Pere Lev 94762ca76c
UI, C2S, S2S: Factory: Make allowed types editable
I added a new activity type, Patch. There's already a ForgeFed type with
the same name, used for representing patches of course. Perhaps the
duplication will work, since these types are used in different
situations. I'd happily change to Edit, but Patch may become the
standard name in Fediverse software. So let's go with that.
2024-08-07 13:16:25 +03:00

24 lines
775 B
Text

$# This file is part of Vervis.
$#
$# Written in 2024 by fr33domlover <fr33domlover@riseup.net>.
$#
$# ♡ 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/>.
^{factoryNavW (Entity factoryID factory) actor}
^{followW' $ Left actorID}
^{personPermitsForResourceW permits}
<form method=POST action=@{FactoryEditR factoryHash} enctype=#{enctype}>
^{widget}
<div class="submit">
<input type="submit">