2016-04-12 12:05:43 +02:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2022-06-23 11:07:37 +02:00
|
|
|
$# Written in 2016, 2018, 2019, 2020, 2022
|
|
|
|
$# by fr33domlover <fr33domlover@riseup.net>.
|
2016-04-12 12:05:43 +02: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/>.
|
|
|
|
|
2022-09-16 15:47:10 +02:00
|
|
|
$# $maybe (s, j, w, sw) <- mproject
|
|
|
|
$# <p>
|
|
|
|
$# Belongs to project
|
|
|
|
$# <a href=@{ProjectR (sharerIdent s) (projectIdent j)}>
|
|
|
|
$# $maybe name <- projectName j
|
|
|
|
$# #{name}
|
|
|
|
$# $nothing
|
|
|
|
$# #{prj2text $ projectIdent j}
|
|
|
|
$#
|
|
|
|
$# ^{personNavW $ sharerIdent s}
|
|
|
|
$#
|
|
|
|
$# ^{projectNavW j w sw (sharerIdent s) (projectIdent j)}
|
2019-12-28 17:34:44 +01:00
|
|
|
|
2022-09-16 15:47:10 +02:00
|
|
|
<p>#{actorDesc actor}
|
2016-04-13 01:38:21 +02:00
|
|
|
|
2022-09-16 15:47:10 +02:00
|
|
|
$# ^{personNavW user}
|
2019-12-28 17:34:44 +01:00
|
|
|
|
2019-10-19 12:13:33 +02:00
|
|
|
<div>
|
2019-12-28 17:34:44 +01:00
|
|
|
<span>
|
|
|
|
[[ 🗃
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoR repo}>
|
|
|
|
^#{keyHashidText repo} #{actorName actor}
|
2019-12-28 17:34:44 +01:00
|
|
|
]] ::
|
2019-10-19 12:13:33 +02:00
|
|
|
<span>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoInboxR repo}>
|
2019-10-19 12:13:33 +02:00
|
|
|
[📥 Inbox]
|
|
|
|
<span>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoOutboxR repo}>
|
2019-10-19 12:13:33 +02:00
|
|
|
[📤 Outbox]
|
|
|
|
<span>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoFollowersR repo}>
|
2019-10-19 12:13:33 +02:00
|
|
|
[🐤 Followers]
|
|
|
|
<span>
|
|
|
|
[🤝 Collaborators]
|
|
|
|
<span>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoCommitsR repo}>
|
2019-10-19 12:13:33 +02:00
|
|
|
[🛠 Changes]
|
2020-08-17 15:46:27 +02:00
|
|
|
<span>
|
|
|
|
[🧩 Patches]
|
2016-04-13 01:38:21 +02:00
|
|
|
|
2019-10-19 12:13:33 +02:00
|
|
|
^{followButton}
|
2016-05-04 19:17:47 +02:00
|
|
|
|
2022-06-23 11:07:37 +02:00
|
|
|
<h2>Clone
|
|
|
|
|
2022-09-16 15:47:10 +02:00
|
|
|
<code>darcs clone @{RepoR repo}
|
2022-06-23 11:07:37 +02:00
|
|
|
|
2016-04-12 12:05:43 +02:00
|
|
|
<h2>Tags
|
2016-05-04 19:17:47 +02:00
|
|
|
|
2016-05-05 09:29:19 +02:00
|
|
|
<p>TODO
|
2016-04-12 12:05:43 +02:00
|
|
|
|
2016-05-04 19:17:47 +02:00
|
|
|
<div>
|
|
|
|
$forall (piece, piecePath) <- dirs
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoSourceR repo piecePath}>#{piece}
|
2016-05-04 19:17:47 +02:00
|
|
|
/ #
|
|
|
|
|
|
|
|
$case sv
|
2016-05-05 09:29:19 +02:00
|
|
|
$of SourceFile (FileView name body)
|
2016-05-04 19:17:47 +02:00
|
|
|
<h2>#{name}
|
|
|
|
^{body}
|
2016-05-05 09:29:19 +02:00
|
|
|
$of SourceDir (DirectoryView mname ents mreadme)
|
2016-05-04 19:17:47 +02:00
|
|
|
<h2>#{fromMaybe "Files" mname}
|
2018-11-01 10:45:48 +01:00
|
|
|
$if null ents
|
|
|
|
<p>No files!
|
|
|
|
$else
|
|
|
|
<table>
|
|
|
|
$forall DirEntry type' name <- ents
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
$case type'
|
|
|
|
$of TypeBlob
|
|
|
|
🗎
|
|
|
|
$of TypeTree
|
|
|
|
🗀
|
|
|
|
<td>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@{RepoSourceR repo (dir ++ [name])}>
|
2018-11-01 10:45:48 +01:00
|
|
|
#{name}
|
2016-04-13 18:17:34 +02:00
|
|
|
$maybe (readmeName, readmeWidget) <- mreadme
|
|
|
|
<h2>#{readmeName}
|
|
|
|
^{readmeWidget}
|
2019-10-19 12:13:33 +02:00
|
|
|
|
2019-10-23 09:43:40 +02:00
|
|
|
<div>
|
2022-09-16 15:47:10 +02:00
|
|
|
^{buttonW POST "Delete this repo" (RepoDeleteR repo)}
|
2019-10-23 09:43:40 +02:00
|
|
|
|
2019-10-19 12:13:33 +02:00
|
|
|
<div>
|
2022-09-16 15:47:10 +02:00
|
|
|
<a href=@?{(RepoR repo, [("prettyjson","true")])}>
|
2019-10-19 12:13:33 +02:00
|
|
|
[See repo JSON]
|