1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:44:51 +09:00

UI: In project page, display a link bar

This commit is contained in:
fr33domlover 2019-10-19 10:52:10 +00:00
parent c85c2aa734
commit 0ff25833a0

View file

@ -12,25 +12,49 @@ $# 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/>.
<div>
<span>
$maybe name <- projectName project
#{name}
$nothing
#{prj2text proj}
$maybe desc <- projectDesc project
-
<span>#{desc}
<div>
<span>
<a href=@{ProjectInboxR shar proj}>
[📥 Inbox]
<span>
<a href=@{ProjectOutboxR shar proj}>
[📤 Outbox]
<span>
<a href=@{ProjectFollowersR shar proj}>
[🐤 Followers]
<span>
<a href=@{ProjectDevsR shar proj}>
[🤝 Collaborators]
<span>
<a href=@{TicketsR shar proj}>
[🐛 Tickets]
<span>
<a href=@{ClaimRequestsProjectR shar proj}>
[✋ Ticket claim requests]
<span>
[🔁Ticket workflow:
^{workflowLinkW wsharer workflow}]
<span>
$maybe _wiki <- projectWiki project
<a href=@{WikiPageR shar proj []}>
[📖 Wiki]
$nothing
[No wiki]
^{followButton}
<p>
<a href=@{ProjectEditR shar proj}>Edit this project
<ul>
<li>
Human-friendly name: #{fromMaybe "(none)" $ projectName project}
<li>
Description: #{fromMaybe "(none)" $ projectDesc project}
<li>
<a href=@{TicketsR shar proj}>Tickets
<li>
<a href=@{ClaimRequestsProjectR shar proj}>Ticket claim requests
<h2>Collaborators
<p>
<a href=@{ProjectDevsR shar proj}>Collaborators
<div>
<a href=@{ProjectEditR shar proj}>Edit
<h2>Repos
@ -56,16 +80,3 @@ $else
<td>
$maybe desc <- repoDesc repository
#{desc}
<h2>Ticket workflow
<p>
^{workflowLinkW wsharer workflow}
<h2>Wiki
<p>
$maybe _wiki <- projectWiki project
<a href=@{WikiPageR shar proj []}>Wiki
$nothing
This project doesnt have a wiki.